mirror of
https://github.com/AxioDL/amuse.git
synced 2025-12-09 05:27:57 +00:00
ObjToken refactor and Sample nodes
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "MainWindow.hpp"
|
||||
#include "boo/IApplication.hpp"
|
||||
#include <QResource>
|
||||
#include <QCommandLineParser>
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
@@ -101,5 +102,12 @@ int main(int argc, char* argv[])
|
||||
MainWindow w;
|
||||
g_MainWindow = &w;
|
||||
w.show();
|
||||
|
||||
QCommandLineParser parser;
|
||||
parser.process(a);
|
||||
QStringList args = parser.positionalArguments();
|
||||
if (!args.empty())
|
||||
w.openProject(args.back());
|
||||
|
||||
return a.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user