examples: fix if (!foo == 0)

Clang issues a warning for this.

Change-Id: I1b9741d0260d43f864e404c693b5a459c5038b67
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
This commit is contained in:
Marc Mutz 2013-09-14 15:52:03 +02:00 committed by The Qt Project
parent 51cffbdcb7
commit 831e314fc3

View File

@ -142,7 +142,7 @@ void MainWindow::showAlbumDetails(QModelIndex index)
break;
}
}
if (!trackList->count() == 0)
if (trackList->count() != 0)
trackList->show();
}