1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00

Merge pull request #133 from niutech/patch-2

Themes on Mac OS X
This commit is contained in:
David Rosca 2012-01-06 06:16:12 -08:00
commit 27078a58cd

View File

@ -258,6 +258,14 @@ void MainApplication::loadSettings()
cssFile.close();
}
#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 (QFile(m_activeThemePath + "windows.css").exists()) {
cssFile.setFileName(m_activeThemePath + "windows.css");