mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 21:03:30 -07:00
Fix nox compilation
This commit is contained in:
parent
8217ddc705
commit
2a4abe6a77
1 changed files with 2 additions and 0 deletions
|
@ -182,10 +182,12 @@ QBtSession::~QBtSession() {
|
||||||
qDebug("Deleting the session");
|
qDebug("Deleting the session");
|
||||||
delete s;
|
delete s;
|
||||||
qDebug("BTSession destructor OUT");
|
qDebug("BTSession destructor OUT");
|
||||||
|
#ifndef DISABLE_GUI
|
||||||
if(m_shutdownAct != NO_SHUTDOWN) {
|
if(m_shutdownAct != NO_SHUTDOWN) {
|
||||||
qDebug() << "Sending computer shutdown/suspend signal...";
|
qDebug() << "Sending computer shutdown/suspend signal...";
|
||||||
misc::shutdownComputer(m_shutdownAct == SUSPEND_COMPUTER);
|
misc::shutdownComputer(m_shutdownAct == SUSPEND_COMPUTER);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void QBtSession::preAllocateAllFiles(bool b) {
|
void QBtSession::preAllocateAllFiles(bool b) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue