aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3de6bfe..93f033b 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -13,6 +13,7 @@
#include <memory>
#include <iostream>
#include "plugin.h"
+#include "session.h"
int main(int argc, char **argv)
{
@@ -120,7 +121,7 @@ int main(int argc, char **argv)
QObject::connect(&app, &Browser::messageAvailable, &app, &Browser::createSession);
}
- app.sendMessage("", false, urls);
+ app.sendMessage(Session::toJsonObject(config->value<QString>("profile.default").value(), urls));
if(isSingleInstance)
return app.exec();
else