mirror of https://github.com/CGAL/cgal
renable open from command line
This commit is contained in:
parent
59431aaff6
commit
003b2fa150
|
|
@ -59,6 +59,9 @@ int main(int argc, char **argv)
|
|||
}
|
||||
mainWindow.load_script(QFileInfo("autostart.js"));
|
||||
#endif
|
||||
Q_FOREACH(QString filename, args) {
|
||||
mainWindow.open(filename);
|
||||
}
|
||||
|
||||
// A Qt Script may have closed the main window
|
||||
// The following loop launch app.exec() only if there is a visible
|
||||
|
|
|
|||
Loading…
Reference in New Issue