mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Added reading mac.css theme file on Mac OS X
This commit is contained in:
parent
d3ea77f8f1
commit
96a8020f08
|
@ -252,6 +252,14 @@ void MainApplication::loadSettings()
|
||||||
cssFile.close();
|
cssFile.close();
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef Q_WS_MAC
|
||||||
|
if (QFile(m_activeThemePath + "mac.css").exists()) {
|
||||||
|
cssFile.setFileName(m_activeThemePath + "mac.css");
|
||||||
|
cssFile.open(QFile::ReadOnly);
|
||||||
|
css.append(cssFile.readAll());
|
||||||
|
cssFile.close();
|
||||||
|
}
|
||||||
|
#endif
|
||||||
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
#if defined(Q_WS_WIN) || defined(Q_OS_OS2)
|
||||||
if (QFile(m_activeThemePath + "windows.css").exists()) {
|
if (QFile(m_activeThemePath + "windows.css").exists()) {
|
||||||
cssFile.setFileName(m_activeThemePath + "windows.css");
|
cssFile.setFileName(m_activeThemePath + "windows.css");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user