Replace deprecated macro

Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
This commit is contained in:
Chocobo1
2019-09-05 20:11:33 +08:00
parent ef8b37f7fa
commit 0d5b0b9542
37 changed files with 159 additions and 159 deletions

View File

@@ -56,9 +56,9 @@
#include <QSessionManager>
#include <QSharedMemory>
#endif // Q_OS_WIN
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
#include <QFileOpenEvent>
#endif // Q_OS_MAC
#endif // Q_OS_MACOS
#endif
#include "base/bittorrent/session.h"
@@ -586,7 +586,7 @@ bool Application::isRunning()
}
#ifndef DISABLE_GUI
#ifdef Q_OS_MAC
#ifdef Q_OS_MACOS
bool Application::event(QEvent *ev)
{
if (ev->type() == QEvent::FileOpen) {
@@ -605,7 +605,7 @@ bool Application::event(QEvent *ev)
return BaseApplication::event(ev);
}
}
#endif // Q_OS_MAC
#endif // Q_OS_MACOS
#endif // DISABLE_GUI
void Application::initializeTranslation()