+ issue #0002053: Support of themes

This commit is contained in:
wmayer 2015-07-12 23:12:05 +02:00
parent f7644fc9f3
commit a5619f3bb6

View File

@ -1687,6 +1687,7 @@ void Application::runApplication(void)
Base::Console().Log("No OpenGL is present or no OpenGL context is current\n");
#if !defined(Q_WS_X11)
QIcon::setThemeSearchPaths(QIcon::themeSearchPaths() << QString::fromLatin1(":/icons/FreeCAD-default"));
QIcon::setThemeName(QLatin1String("FreeCAD-default"));
#endif