Browse Source

Cleaner program exit on Auto-shutdown

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
7d07debcb5
  1. 3
      src/bittorrent.cpp

3
src/bittorrent.cpp

@ -2056,7 +2056,8 @@ void Bittorrent::addConsoleMessage(QString msg, QString) { @@ -2056,7 +2056,8 @@ void Bittorrent::addConsoleMessage(QString msg, QString) {
qDebug("Sending computer shutdown signal");
misc::shutdownComputer();
qDebug("Exiting the application");
exit(0);
qApp->exit();
return;
}
}
}

Loading…
Cancel
Save