aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp6
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();