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); }