diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2018-08-29 20:49:02 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2018-08-29 20:49:02 +0000 |
commit | 6f97d1caf87e8fd2fc88c671c316f3e3bf42fd99 (patch) | |
tree | f05b7cfe91c26a95226948873fb29cb516ad960c /games/kolf-kde4/files/patch-kcomboboxdialog.cpp | |
parent | emulators/rpcs3: update to 0.0.5.808 (diff) |
Clang7 fixes for some old soon-to-be-deprecated KDE4 games.
PR: 230938 230942
Reported by: jbeich
Notes
Notes:
svn path=/head/; revision=478418
Diffstat (limited to 'games/kolf-kde4/files/patch-kcomboboxdialog.cpp')
-rw-r--r-- | games/kolf-kde4/files/patch-kcomboboxdialog.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/games/kolf-kde4/files/patch-kcomboboxdialog.cpp b/games/kolf-kde4/files/patch-kcomboboxdialog.cpp new file mode 100644 index 000000000000..889ee21d924a --- /dev/null +++ b/games/kolf-kde4/files/patch-kcomboboxdialog.cpp @@ -0,0 +1,11 @@ +--- kcomboboxdialog.cpp.orig 2018-08-29 20:31:46 UTC ++++ kcomboboxdialog.cpp +@@ -94,7 +94,7 @@ QString KComboBoxDialog::getItem( const + KConfigGroup *configGroup = new KConfigGroup(config->group("Notification Messages")); + prevAnswer = configGroup->readEntry( dontAskAgainName,QString() ); + if ( !prevAnswer.isEmpty() ) +- if ( _items.contains( prevAnswer ) > 0 ) ++ if ( bool(_items.contains( prevAnswer ) ) ) + return prevAnswer; + } + |