X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;fp=pv%2Fmainwindow.hpp;h=ab0f871e924ad7d90c7203ab91a502f32ea3344d;hp=6541ccc6dff181e2cf386ed75657f5c0ecf11d1c;hb=156f06e95f10587063b97b6b453a603751a0007c;hpb=2a9fcd6212fd54d9589717670824d6bd020c694a diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 6541ccc..ab0f871 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -72,6 +72,7 @@ public: explicit MainWindow(DeviceManager &device_manager, string open_file_name = string(), string open_file_format = string(), + bool restore_sessions = true, QWidget *parent = nullptr); ~MainWindow(); @@ -92,7 +93,7 @@ private: void save_ui_settings(); - void restore_ui_settings(); + void restore_ui_settings(bool restore_sessions); shared_ptr get_tab_session(int index) const;