projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MainWindow: Don't use get_active_view() to determine active session
[pulseview.git]
/
pv
/
mainwindow.hpp
diff --git
a/pv/mainwindow.hpp
b/pv/mainwindow.hpp
index 8ebf4a50bd3344518b991aea4bf9322ebeaa1835..0f7ec6431705c010204628c89cc2edd13b7af093 100644
(file)
--- a/
pv/mainwindow.hpp
+++ b/
pv/mainwindow.hpp
@@
-101,9
+101,9
@@
private:
void session_error(const QString text, const QString info_text);
void session_error(const QString text, const QString info_text);
+private Q_SLOTS:
void show_session_error(const QString text, const QString info_text);
void show_session_error(const QString text, const QString info_text);
-private Q_SLOTS:
void on_add_view(const QString &title, views::ViewType type,
Session *session);
void on_add_view(const QString &title, views::ViewType type,
Session *session);
@@
-132,6
+132,7
@@
private:
DeviceManager &device_manager_;
std::list< std::shared_ptr<Session> > sessions_;
DeviceManager &device_manager_;
std::list< std::shared_ptr<Session> > sessions_;
+ std::shared_ptr<Session> last_focused_session_;
std::map< QDockWidget*, std::shared_ptr<views::ViewBase> > view_docks_;
std::map< QDockWidget*, std::shared_ptr<views::ViewBase> > view_docks_;