mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
fix: fix system icons
This sets the fallback icon theme to the current(system default) icon theme before
launcher specific themes are applied
And removes `Inherits` line of multimc/legacy icon theme because it can end up making it
inherit a default theme set from /usr/share/icons/default/index.theme
instead of the user configured theme (probably a qt bug?)
Signed-off-by: leia uwu <leia@tutamail.com>
(cherry picked from commit fd9c80db62)
This commit is contained in:
parent
e0c323a190
commit
e7e9265c40
2 changed files with 1 additions and 1 deletions
|
|
@ -1,7 +1,6 @@
|
|||
[Icon Theme]
|
||||
Name=Legacy
|
||||
Comment=Default Icons
|
||||
Inherits=default
|
||||
Directories=8x8,16x16,22x22,24x24,32x32,32x32/instances,48x48,50x50/instances,64x64,128x128/instances,256x256,scalable,scalable/instances
|
||||
|
||||
[8x8]
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@
|
|||
|
||||
ThemeManager::ThemeManager()
|
||||
{
|
||||
QIcon::setFallbackThemeName(QIcon::themeName());
|
||||
themeDebugLog() << "Determining System Widget Theme...";
|
||||
const auto& style = QApplication::style();
|
||||
m_defaultStyle = style->objectName();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue