Commit cad8dcbb authored by Alessandro Portale's avatar Alessandro Portale
Browse files

Only update Qml App stub files

The update mechanism kicked in also for Qml Mobile apps, which
happen to have a deployment.pri file aswell. But that was wrong.

The update must only happen if all qml app stub files were
found. This patch fixes it.

Task-Number: QTCREATORBUG-2529
Reviewed-by: ck
parent 5d0177ac
......@@ -425,6 +425,8 @@ static QList<QmlAppGeneratedFileInfo> updateableFiles(const QString &mainProFile
file.fileInfo = QFileInfo(fileName);
if (result.count() != size)
result.clear(); // All files must be found. No wrong/partial updates, please.
return result;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment