X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fimportmenu.hpp;h=c70962a4a781c4fef7fed32857bfce4a6787a749;hp=cb33af9808d36733a337b0f12e3e55e62967f141;hb=323715c41a09a1aba08f4b716e9d93da58f0f3a8;hpb=6f925ba9d6faf1077b73c5a5808259576081716a diff --git a/pv/widgets/importmenu.hpp b/pv/widgets/importmenu.hpp index cb33af9..c70962a 100644 --- a/pv/widgets/importmenu.hpp +++ b/pv/widgets/importmenu.hpp @@ -26,6 +26,7 @@ #include using std::shared_ptr; +using std::vector; namespace sigrok { class Context; @@ -41,7 +42,7 @@ class ImportMenu : public QMenu public: ImportMenu(QWidget *parent, shared_ptr context, - QAction *open_action = nullptr); + vectoropen_actions = vector()); private Q_SLOTS: void on_action(QObject *action); @@ -54,7 +55,7 @@ private: QSignalMapper mapper_; }; -} // widgets -} // pv +} // namespace widgets +} // namespace pv #endif // PULSEVIEW_PV_WIDGETS_IMPORTMENU_HPP