diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-26 19:51:52 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-26 19:51:52 +0200 |
commit | 5825451aef1a762bfaeff2d37c09b3790deee7b1 (patch) | |
tree | 75feca7f6483e25d9bd920645e6044d3bb22966b /src/main.cpp | |
parent | Update pkgbuild (diff) | |
download | smolbote-5825451aef1a762bfaeff2d37c09b3790deee7b1.tar.xz |
Socket messages are json formatted
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 3 |
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 |