1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-10 14:57:52 +00:00

Fix nox compilation

This commit is contained in:
Christophe Dumez 2011-04-05 17:29:55 +00:00
parent 8217ddc705
commit 2a4abe6a77

View File

@ -182,10 +182,12 @@ QBtSession::~QBtSession() {
qDebug("Deleting the session");
delete s;
qDebug("BTSession destructor OUT");
#ifndef DISABLE_GUI
if(m_shutdownAct != NO_SHUTDOWN) {
qDebug() << "Sending computer shutdown/suspend signal...";
misc::shutdownComputer(m_shutdownAct == SUSPEND_COMPUTER);
}
#endif
}
void QBtSession::preAllocateAllFiles(bool b) {