mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 16:23:07 -07:00
Replace deprecated macro
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
This commit is contained in:
parent
ef8b37f7fa
commit
0d5b0b9542
37 changed files with 159 additions and 159 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue