Commit f1dc5137 authored by Andreas Traczyk's avatar Andreas Traczyk

mainwindow: don't delete lrc instance on close event

Change-Id: Ib9ae1b6668df728a9e74331b99a3394418fe354e
parent 1c647ec2
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment