Browse Source

Make sure we don't inhibit system sleep before qBTsession destructor

adaptive-webui-19844
Christophe Dumez 14 years ago
parent
commit
9a5568349f
  1. 2
      src/mainwindow.cpp

2
src/mainwindow.cpp

@ -366,9 +366,9 @@ MainWindow::~MainWindow() { @@ -366,9 +366,9 @@ MainWindow::~MainWindow() {
delete switchRSSShortcut;
IconProvider::drop();
// Delete QBtSession::instance() object
m_pwr->setActivityState(false);
qDebug("Deleting QBtSession::instance()");
QBtSession::drop();
m_pwr->setActivityState(false);
qDebug("Exiting GUI destructor...");
}

Loading…
Cancel
Save