diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-24 18:42:40 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-06-24 18:42:40 +0200 |
commit | 1581e94b9ac98f5d385a71a5bfbde81da22da2b2 (patch) | |
tree | 74bd192d5cb344e3e5d10596f7b0d09aced8ca42 /src/mainwindow/mainwindow.cpp | |
parent | Add Session class (diff) | |
download | smolbote-1581e94b9ac98f5d385a71a5bfbde81da22da2b2.tar.xz |
Add ProfileManager
Diffstat (limited to 'src/mainwindow/mainwindow.cpp')
-rw-r--r-- | src/mainwindow/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow/mainwindow.cpp b/src/mainwindow/mainwindow.cpp index 0932aee..07ac8f0 100644 --- a/src/mainwindow/mainwindow.cpp +++ b/src/mainwindow/mainwindow.cpp @@ -193,8 +193,8 @@ void MainWindow::createMenuBar() auto *debugMenu = menuBar()->addMenu(tr("Debug")); debugMenu->addAction(tr("Print window session"), [this]() { - auto json = Session::toJson(this); - qDebug("session data >>>\n%s\n<<<", qUtf8Printable(json.toJson())); + auto json = Session::toJsonObject(this); + qDebug("session data >>>\n%s\n<<<", qUtf8Printable(QJsonDocument(json).toJson())); }); #endif } |