OSDN Git Service

compiler warning fix
authorIvailo Monev <xakepa10@gmail.com>
Sun, 25 Oct 2020 17:38:42 +0000 (19:38 +0200)
committerIvailo Monev <xakepa10@gmail.com>
Sun, 25 Oct 2020 17:38:42 +0000 (19:38 +0200)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/declarative/qml/qdeclarativeimport.cpp

index 916ee65..f7400a0 100644 (file)
@@ -808,7 +808,7 @@ QString QDeclarativeImportDatabase::resolvePlugin(const QDir &qmldirPath, const
         }
 
         // hack for resources, should probably go away
-        if (resolvedPath.startsWith(QLatin1String(':/')))
+        if (resolvedPath.startsWith(QLatin1String(":/")))
             resolvedPath = QCoreApplication::applicationDirPath();
 
         QDir dir(resolvedPath);