1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Fix Q_OS_OSX check

This commit is contained in:
David Rosca 2016-10-26 11:41:22 +02:00
parent ac160506f6
commit d671039e9f

View File

@ -409,7 +409,7 @@ Preferences::Preferences(BrowserWindow* window)
settings.endGroup(); settings.endGroup();
const QStringList dictionariesDirs = { const QStringList dictionariesDirs = {
#if Q_OS_OSX #ifdef Q_OS_OSX
QDir::cleanPath(QCoreApplication::applicationDirPath() + QL1S("/../Contents/Resources/qtwebengine_dictionaries")), QDir::cleanPath(QCoreApplication::applicationDirPath() + QL1S("/../Contents/Resources/qtwebengine_dictionaries")),
QDir::cleanPath(QCoreApplication::applicationDirPath() + QL1S("/../Contents/Frameworks/QtWebEngineCore.framework/Resources/qtwebengine_dictionaries")) QDir::cleanPath(QCoreApplication::applicationDirPath() + QL1S("/../Contents/Frameworks/QtWebEngineCore.framework/Resources/qtwebengine_dictionaries"))
#else #else