Fix Qt5 build on Mac

Q_WS_MAC doesn't exist in Qt5 anymore, use Q_OS_DARWIN instead
This commit is contained in:
Frank Osterfeld 2013-01-23 10:29:07 +01:00
parent f7e03e4531
commit 468e3b0eaf
1 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@
#include <QSettings>
#include <QVector>
#if defined(Q_OS_UNIX) && !defined(Q_WS_MAC)
#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
#include <QDBusPendingCallWatcher>
@ -65,7 +65,7 @@ public:
};
DataType dataType;
#if defined(Q_OS_UNIX) && !defined(Q_WS_MAC)
#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
org::kde::KWallet* iface;
friend class QKeychain::JobExecutor;
@ -99,7 +99,7 @@ public:
QByteArray binaryData;
QString textData;
#if defined(Q_OS_UNIX) && !defined(Q_WS_MAC)
#if defined(Q_OS_UNIX) && !defined(Q_OS_DARWIN)
org::kde::KWallet* iface;
friend class QKeychain::JobExecutor;