diff --git a/mainwindow.cpp b/mainwindow.cpp index 3bb7fed7df1d92c6113795888ede110e9f3265de..82c1b57a287b7282679bddd05980bcea2eca0034 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -290,9 +290,8 @@ MainWindow::closeEvent(QCloseEvent* event) settings.setValue(SettingsKey::geometry, saveGeometry()); settings.setValue(SettingsKey::windowState, saveState()); } - this->disconnect(screenChangedConnection_); this->disconnect(activeChangedConnection_); - LRCInstance::reset(); + this->disconnect(screenChangedConnection_); QMainWindow::closeEvent(event); }