Browse Source

Blind implementation for auto-shutdown on Windows

adaptive-webui-19844
Christophe Dumez 15 years ago
parent
commit
d15e6a4847
  1. 4
      src/misc.cpp

4
src/misc.cpp

@ -233,7 +233,9 @@ void misc::shutdownComputer() { @@ -233,7 +233,9 @@ void misc::shutdownComputer() {
AEDisposeDesc(&eventReply);
#endif
// TODO: Windows support
#ifdef Q_WS_WIN
InitiateSystemShutdownA(0, qPrintable(tr("qBittorrent will shutdown the computer now because all downloads are complete.")), 10, true, false);
#endif
}
QString misc::truncateRootFolder(boost::intrusive_ptr<torrent_info> t) {

Loading…
Cancel
Save