diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index b45fad4..f8c9c7d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -26,12 +26,12 @@ int main(int argc, char *argv[]) if(parser.positionalArguments().length() > 0) {
QUrl url = QUrl::fromUserInput(parser.positionalArguments().at(0));
if(url.isValid()) {
- instance.addWindow(new MainWindow(instance.settings(), url));
+ instance.addWindow(new MainWindow(url));
} else {
- instance.addWindow(new MainWindow(instance.settings()));
+ instance.addWindow(new MainWindow());
}
} else {
- instance.addWindow(new MainWindow(instance.settings()));
+ instance.addWindow(new MainWindow());
}
return app.exec();
|