X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fmainwindow.hpp;h=5f4609d90b42e3824d3116b1431cc05abcfc1ab3;hp=3cffb54b47ce85f36a49d5a2c85216714751d0ea;hb=5e685656d6686eb66a39450d1b324f6382fc60c5;hpb=8d054b91e39afd8e3b04cdde8e37f2c94aa2e608 diff --git a/pv/mainwindow.hpp b/pv/mainwindow.hpp index 3cffb54b..5f4609d9 100644 --- a/pv/mainwindow.hpp +++ b/pv/mainwindow.hpp @@ -75,6 +75,8 @@ public: ~MainWindow(); + static void show_session_error(const QString text, const QString info_text); + shared_ptr get_active_view() const; shared_ptr add_view(const QString &title, @@ -109,11 +111,7 @@ private: virtual bool restoreState(const QByteArray &state, int version = 0); - 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 on_add_view(const QString &title, views::ViewType type, Session *session);