From da078d300c0ac2435e7281b9e3a0b122e3b1a0bd Mon Sep 17 00:00:00 2001 From: Friedemann Kleint <Friedemann.Kleint@nokia.com> Date: Thu, 20 May 2010 13:59:48 +0200 Subject: [PATCH] Compiler warning: Do not return false for return type QString. --- src/plugins/qt4projectmanager/qt-s60/s60devices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp b/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp index 3b4fe3da23b..087b6219466 100644 --- a/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp +++ b/src/plugins/qt4projectmanager/qt-s60/s60devices.cpp @@ -403,7 +403,7 @@ static QString detect_SDK_installedQt(const QString &epocRoot) const QString coreLibDllFileName = epocRoot + QLatin1String("/epoc32/release/winscw/udeb/QtCore.dll"); QFile coreLibDllFile(coreLibDllFileName); if (!coreLibDllFile.exists() || !coreLibDllFile.open(QIODevice::ReadOnly)) - return false; + return QString(); // Do not normalize these backslashes since they are in ARM binaries: const QByteArray indicator("\\src\\corelib\\kernel\\qobject.h"); -- GitLab