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:
parent
51cffbdcb7
commit
831e314fc3
@ -142,7 +142,7 @@ void MainWindow::showAlbumDetails(QModelIndex index)
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!trackList->count() == 0)
|
||||
if (trackList->count() != 0)
|
||||
trackList->show();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user