MainWindow: Prevent Qt from restoring the dock widgets
[pulseview.git] / pv / mainwindow.hpp
index 547089c59e5a39a17acf36771a75e37c094daa1f..618a10e0fb51b1097a2e3b91216dd0c46a5778ad 100644 (file)
@@ -148,6 +148,10 @@ private:
 
        void keyReleaseEvent(QKeyEvent *event);
 
+       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);