diff options
Diffstat (limited to 'src/browser.cpp')
-rw-r--r-- | src/browser.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/browser.cpp b/src/browser.cpp index d225cbe..b05c620 100644 --- a/src/browser.cpp +++ b/src/browser.cpp @@ -66,7 +66,9 @@ void Browser::aboutPlugins() void Browser::loadConfiguration(const QString &path) { auto ctx = init_conf(path.toStdString()); - spdlog::info("Using configuration [{}]: {}", ctx.path, ctx.ptr->make_global() ? "okay" : "failed"); + spdlog::info("Using configuration [{}]: {}", + (ctx.path ? ctx.path->c_str() : "none"), + ctx.ptr->make_global() ? "okay" : "failed"); m_conf = std::move(ctx.ptr); if(const auto _translation = m_conf->value<QString>("browser.translation")) { |