forked from qt-creator/qt-creator
QmlDesigner: Make it easier to add new arguments to the puppet
Change-Id: I15bc4a1a431787e350ace9fa09d8c140d06a7ed6 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user