From e3e178e07c58f78eaa7066a64d2e6dd9acd66bd3 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 6 Feb 2019 21:58:33 +0200 Subject: Use spdlog for logging --- src/browser.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/browser.cpp') diff --git a/src/browser.cpp b/src/browser.cpp index 430a7d4..69db6b2 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -37,6 +37,7 @@ #include "urlfilter.h" #include "adblock/adblocklist.h" #include "hostlist/hostlist.h" +#include Browser::Browser(int &argc, char *argv[], bool allowSecondary) : SingleApplication(argc, argv, allowSecondary, SingleApplication::User | SingleApplication::SecondaryNotification | SingleApplication::ExcludeAppVersion) @@ -118,6 +119,7 @@ QPair Browser::loadProfile(const QString &id, bool isOffTheR } profile->setRequestInterceptor(interceptor); + spdlog::info("Added profile: {}{}", qUtf8Printable(_id), profile->isOffTheRecord() ? " (otr)" : ""); return QPair(_id, profile); } -- cgit v1.2.1