mirror of
https://github.com/c0re100/qBittorrent-Enhanced-Edition.git
synced 2025-01-09 04:18:39 +08:00
Fix Mac OS X compilation.
This commit is contained in:
parent
f97238e1c9
commit
1fd2dce0bd
@ -136,8 +136,8 @@ void misc::shutdownComputer(shutDownAction action) {
|
||||
}
|
||||
#endif
|
||||
#ifdef Q_WS_MAC
|
||||
AEEventID EventToSend;
|
||||
if (action != SHUTDOWN_COMPUTER)
|
||||
if (sleep)
|
||||
EventToSend = kAESleep;
|
||||
else
|
||||
EventToSend = kAEShutDown;
|
||||
|
Loading…
Reference in New Issue
Block a user