Supresses compiler warning about unused parameter using Q_UNUSED macro

This commit is contained in:
Michael Jones 2013-08-23 11:52:04 -05:00
parent 985be4cd97
commit 97d47c21e5
1 changed files with 2 additions and 1 deletions

View File

@ -168,8 +168,9 @@ void AvahiWatch::setEventType(AvahiWatchEvent event)
void AvahiWatch::activated(int fd)
{
Q_UNUSED(fd);
_lastEvent = _event;
_callback(this, fd, _event, _userdata);
_callback(this, _fd, _event, _userdata);
_lastEvent = (AvahiWatchEvent)0;
}