mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
25 lines
966 B
Diff
25 lines
966 B
Diff
diff -ur ../kolf-4.14.3-orig/kcomboboxdialog.cpp ./kcomboboxdialog.cpp
|
|
--- ../kolf-4.14.3-orig/kcomboboxdialog.cpp 2014-08-27 16:07:13.000000000 +0900
|
|
+++ ./kcomboboxdialog.cpp 2020-04-15 18:39:48.000000000 +0900
|
|
@@ -94,7 +94,7 @@
|
|
KConfigGroup *configGroup = new KConfigGroup(config->group("Notification Messages"));
|
|
prevAnswer = configGroup->readEntry( dontAskAgainName,QString() );
|
|
if ( !prevAnswer.isEmpty() )
|
|
- if ( _items.contains( prevAnswer ) > 0 )
|
|
+ if ( _items.contains( prevAnswer ) != NULL )
|
|
return prevAnswer;
|
|
}
|
|
|
|
diff -ur ../kolf-4.14.3-orig/newgame.cpp ./newgame.cpp
|
|
--- ../kolf-4.14.3-orig/newgame.cpp 2014-08-27 16:07:13.000000000 +0900
|
|
+++ ./newgame.cpp 2020-04-15 18:39:29.000000000 +0900
|
|
@@ -285,7 +285,7 @@
|
|
|
|
for (QStringList::const_iterator fileIt = files.begin(); fileIt != files.end(); ++fileIt)
|
|
{
|
|
- if (names.contains(*fileIt) > 0)
|
|
+ if (names.contains(*fileIt) != NULL)
|
|
{
|
|
hasDuplicates = true;
|
|
continue;
|