diff options
Diffstat (limited to 'src/libs/installer/setexamplespathonqtoperation.cpp')
-rw-r--r-- | src/libs/installer/setexamplespathonqtoperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/setexamplespathonqtoperation.cpp b/src/libs/installer/setexamplespathonqtoperation.cpp index f594eb50f..bebdf531f 100644 --- a/src/libs/installer/setexamplespathonqtoperation.cpp +++ b/src/libs/installer/setexamplespathonqtoperation.cpp @@ -94,7 +94,7 @@ bool SetExamplesPathOnQtOperation::performOperation() qDebug() << "qpatch: warning: It was not able to get the old values from" << qmakePath; } - if (255 < newValue.size()) { + if (newValue.size() >= 255) { setError(UserDefinedError); setErrorString(tr("Qt patch error: new Qt example path (%1)\nneeds to be less than 255 characters.") .arg(QString::fromLocal8Bit(newValue))); |