projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Settings: Only show initial pin config UI elements if enabled
[pulseview.git]
/
pv
/
mainwindow.hpp
diff --git
a/pv/mainwindow.hpp
b/pv/mainwindow.hpp
index 6541ccc6dff181e2cf386ed75657f5c0ecf11d1c..ab0f871e924ad7d90c7203ab91a502f32ea3344d 100644
(file)
--- 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(),
explicit MainWindow(DeviceManager &device_manager,
string open_file_name = string(),
string open_file_format = string(),
+ bool restore_sessions = true,
QWidget *parent = nullptr);
~MainWindow();
QWidget *parent = nullptr);
~MainWindow();
@@
-92,7
+93,7
@@
private:
void save_ui_settings();
void save_ui_settings();
- void restore_ui_settings();
+ void restore_ui_settings(
bool restore_sessions
);
shared_ptr<Session> get_tab_session(int index) const;
shared_ptr<Session> get_tab_session(int index) const;