mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
[Themes] Fix loading linux.css and mac.css on Mac/Linux
This commit is contained in:
parent
668c8b024a
commit
0a8337758e
@ -924,9 +924,9 @@ void MainApplication::loadTheme(const QString &name)
|
||||
QString qss = QzTools::readAllFileContents(activeThemePath + QLatin1String("/main.css"));
|
||||
|
||||
#if defined(Q_OS_MAC)
|
||||
qss.append(QzTools::readAllFileContents(activeThemePath + QLatin1String("/linux.css")));
|
||||
#elif defined(Q_OS_UNIX)
|
||||
qss.append(QzTools::readAllFileContents(activeThemePath + QLatin1String("/mac.css")));
|
||||
#elif defined(Q_OS_UNIX)
|
||||
qss.append(QzTools::readAllFileContents(activeThemePath + QLatin1String("/linux.css")));
|
||||
#elif defined(Q_OS_WIN) || defined(Q_OS_OS2)
|
||||
qss.append(QzTools::readAllFileContents(activeThemePath + QLatin1String("/windows.css")));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user