return nullptr;
}
+bool MainWindow::restoreState(const QByteArray &state, int version)
+{
+ (void)state;
+ (void)version;
+
+ // Do nothing. We don't want Qt to handle this, or else it
+ // will try to restore all the dock widgets and create havoc.
+
+ return false;
+}
+
void MainWindow::show_session_error(
const QString text, const QString info_text)
{
virtual QMenu* createPopupMenu();
+ virtual bool restoreState(const QByteArray &state, int version = 0);
+
private Q_SLOTS:
void show_session_error(
const QString text, const QString info_text);