Copy current icon theme name to the fallback on startup
This commit is contained in:
@@ -178,6 +178,9 @@ void StartupProcess::setThemePaths()
|
||||
QIcon::setThemeSearchPaths(searchPaths);
|
||||
}
|
||||
|
||||
// KDE file dialog needs icons from the desktop theme
|
||||
QIcon::setFallbackThemeName(QIcon::themeName());
|
||||
|
||||
std::string name = hTheme->GetASCII("Name");
|
||||
if (name.empty()) {
|
||||
QIcon::setThemeName(QLatin1String("FreeCAD-default"));
|
||||
|
||||
Reference in New Issue
Block a user