summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authoraqua <aqua@iserlohn-fortress.net>2022-08-24 16:38:49 +0300
committeraqua <aqua@iserlohn-fortress.net>2022-08-28 09:49:20 +0300
commitc5ed279da0e74adb79c6c2a3e485cb9668b1c130 (patch)
tree4271dcd3530bec7df25b01190317bee56533df94 /src/main.cpp
parentLoad plugins from AppLocalDataLocation by default (diff)
downloadrekonq-c5ed279da0e74adb79c6c2a3e485cb9668b1c130.tar.xz
SettingsDialog: save settings when changed
- connect Restore Defaults button
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 1d6e30da..51e68716 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,9 +10,14 @@
* ============================================================ */
#include "application.hpp"
+#include <spdlog/spdlog.h>
int main(int argc, char **argv)
{
+#ifdef QT_DEBUG
+ spdlog::set_level(spdlog::level::debug);
+#endif
+
// When loading QtWebEngine from a plugin, set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);