Commit 7784baf5 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner: Make it easier to add new arguments to the puppet



Change-Id: I15bc4a1a431787e350ace9fa09d8c140d06a7ed6
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent cacc6b29
......@@ -82,8 +82,10 @@ int main(int argc, char *argv[])
return 0;
}
if (application.arguments().count() != 4)
if (application.arguments().count() < 4) {
qDebug() << "Wrong argument count: " << application.arguments().count();
return -1;
}
......
......@@ -64,7 +64,7 @@ int main(int argc, char *argv[])
return 0;
}
if (application.arguments().count() != 4)
if (application.arguments().count() < 4)
return -1;
#ifdef ENABLE_QT_BREAKPAD
......
Supports Markdown
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