Mercurial > retraceit
diff src/folderselectdialog.cpp @ 99:0cf81afa82c1
Fix compiler warning about logic error
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Fri, 18 Nov 2016 11:35:50 +0100 |
parents | c3000fa6ca56 |
children | 7c84242971cb |
line wrap: on
line diff
--- a/src/folderselectdialog.cpp Fri Nov 18 11:34:33 2016 +0100 +++ b/src/folderselectdialog.cpp Fri Nov 18 11:35:50 2016 +0100 @@ -28,7 +28,7 @@ static ulong ipStringToLong(const QString str) { QStringList octets = str.split("."); - if (!octets.size() > 3) { + if (!(octets.size() > 3)) { qWarning() << "invalid call to str to long"; return 0; }