From 5941a32f715b5d0e47c2e38763e521d4307385a2 Mon Sep 17 00:00:00 2001 From: wmayer Date: Fri, 27 Apr 2018 14:47:19 +0200 Subject: [PATCH] fix Linux build failure --- src/Gui/Application.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/Application.cpp b/src/Gui/Application.cpp index d7b1a7ce0d..a21ed77969 100644 --- a/src/Gui/Application.cpp +++ b/src/Gui/Application.cpp @@ -1699,10 +1699,10 @@ void Application::runApplication(void) #endif ParameterGrp::handle hTheme = App::GetApplication().GetParameterGroupByPath("User parameter:BaseApp/Preferences/Bitmaps/Theme"); - std::string path = hTheme->GetASCII("SearchPath"); - if (!path.empty()) { + std::string searchpath = hTheme->GetASCII("SearchPath"); + if (!searchpath.empty()) { QStringList searchPaths = QIcon::themeSearchPaths(); - searchPaths.prepend(QString::fromUtf8(path.c_str())); + searchPaths.prepend(QString::fromUtf8(searchpath.c_str())); QIcon::setThemeSearchPaths(searchPaths); }