diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-09-27 11:44:05 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2017-09-27 11:44:05 +0200 |
commit | ef3ab866bc2d1c215eea90fba0651db7a6e87c43 (patch) | |
tree | 9c16f594bc3b20e6bf52a181126543ed826fe974 /src/main.cpp | |
parent | Passing full arguments to running instance (diff) | |
download | smolbote-ef3ab866bc2d1c215eea90fba0651db7a6e87c43.tar.xz |
Code cleanup
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 87def7a..9df24b2 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -133,11 +133,7 @@ int main(int argc, char *argv[]) // app.loadPlugins(); // } - MainWindow *w = new MainWindow(options.value("urls").toStringList()); - if(options.contains("profile")) { - w->setProfile(app.profile(options.value("profile").toString())); - } - app.addWindow(w); + app.createWindow(options); } return app.exec(); |