X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=0f7ec6431705c010204628c89cc2edd13b7af093;hb=33bedfc1262f3a6772f6a741144baf90790297fb;hp=8ebf4a50bd3344518b991aea4bf9322ebeaa1835;hpb=3231fbf9374113d07d3d544a4822ae46032062a2;p=pulseview.git diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 8ebf4a5..0f7ec64 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -101,9 +101,9 @@ private: void session_error(const QString text, const QString info_text); +private Q_SLOTS: 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); @@ -132,6 +132,7 @@ private: DeviceManager &device_manager_; std::list< std::shared_ptr > sessions_; + std::shared_ptr last_focused_session_; std::map< QDockWidget*, std::shared_ptr > view_docks_;