mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Fix Mac OS X compilation.
This commit is contained in:
@@ -136,8 +136,8 @@ void misc::shutdownComputer(shutDownAction action) {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef Q_WS_MAC
|
#ifdef Q_WS_MAC
|
||||||
|
AEEventID EventToSend;
|
||||||
if (action != SHUTDOWN_COMPUTER)
|
if (action != SHUTDOWN_COMPUTER)
|
||||||
if (sleep)
|
|
||||||
EventToSend = kAESleep;
|
EventToSend = kAESleep;
|
||||||
else
|
else
|
||||||
EventToSend = kAEShutDown;
|
EventToSend = kAEShutDown;
|
||||||
|
|||||||
Reference in New Issue
Block a user