From 8c344780ab1f4c8f1d6291732ab0da7f64fb2d74 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 16 Dec 2018 12:37:19 +0100 Subject: Add browser.iconTheme --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 04ce57a..11db0d7 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -108,6 +108,10 @@ int main(int argc, char **argv) delete locale; } + if(auto iconTheme = config->value("browser.iconTheme")) { + QIcon::setThemeName(iconTheme.value()); + } + #ifdef CONFIG_USEBREAKPAD const std::string crashpath = config->value("browser.crash.path").value_or("/tmp"); assert(!crashpath.empty()); -- cgit v1.2.1