Gui: Use FreeCAD supplied icons on Linux by default

Fixes: #14968
This commit is contained in:
Kacper Donat
2024-06-26 21:10:04 +02:00
parent dbb68789dd
commit a76226d70f
2 changed files with 2 additions and 3 deletions

View File

@@ -361,7 +361,6 @@
<file>preferences-system.svg</file>
<file>process-stop.svg</file>
<file>window-new.svg</file>
<file>camera-photo.svg</file>
<file>applications-accessories.svg</file>
<file>applications-python.svg</file>
<file>accessories-text-editor.svg</file>

View File

@@ -170,9 +170,9 @@ void StartupProcess::setThemePaths()
<< QString::fromLatin1(":/icons/FreeCAD-default"));
QIcon::setThemeName(QLatin1String("FreeCAD-default"));
#else
// Option to opt-out from using a Linux desktop icon theme.
// Option to opt-in into using a Linux desktop icon theme.
// https://forum.freecad.org/viewtopic.php?f=4&t=35624
bool themePaths = hTheme->GetBool("ThemeSearchPaths",true);
bool themePaths = hTheme->GetBool("ThemeSearchPaths", false);
if (!themePaths) {
QStringList searchPaths;
searchPaths.prepend(QString::fromUtf8(":/icons"));