Resolve compiler warnings for unused return values

* Fixes #1932 - See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66425#c29

Adding a negation before the function call allows the (void) syntax to work properly.
This commit is contained in:
Jonathan White
2021-06-08 22:55:53 -04:00
parent a0912b057e
commit 6a8b070b0a
4 changed files with 7 additions and 14 deletions

View File

@@ -72,7 +72,7 @@ private slots:
void testTrayRestoreHide();
private:
int addCannedEntries();
void addCannedEntries();
void checkDatabase(QString dbFileName = "");
void triggerAction(const QString& name);
void dragAndDropGroup(const QModelIndex& sourceIndex,