diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2020-12-07 12:22:15 +0200 |
commit | 92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b (patch) | |
tree | a850643f7b86e6cebfddbeec98d7c372478d379c /src/main.cpp | |
parent | Hostlist filter plugin can rewrite hostnames (diff) | |
download | smolbote-92b3c2dcff3e85ad3d455f6ab845d9a97d3b525b.tar.xz |
Rewrite meson build scripts into cmakelists
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp index 135d0ee..65c8c26 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,10 +10,7 @@ #include "cmd/cmd.hpp" #include "configuration.h" #include "util.h" -#include <QFile> -#include <QPluginLoader> #include <QStandardPaths> -#include <pluginloader.h> #include <spdlog/spdlog.h> namespace builtins @@ -26,10 +23,11 @@ int sub_session(const QStringList &l, Browser &); int main(int argc, char **argv) { // spdlog pattern - if(const char *env_spdlog = std::getenv("POI_LOG_PATTERN")) + if(const char *env_spdlog = std::getenv("POI_LOG_PATTERN")) { spdlog::set_pattern(env_spdlog); - else + } else { spdlog::set_pattern("[%^%l%$] [%P:%t] %v"); + } #ifdef QT_DEBUG spdlog::set_level(spdlog::level::debug); // Set global log level to debug |