X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fwidgets%2Fexportmenu.hpp;h=3416c7b3b5411917613620b63265ddb62cddab09;hp=7cd44070e0dbd44602c10179e89969d28f66e71d;hb=efdec55aec1a137460fa362a381ed1904182bfed;hpb=ce6001b8b3b21778218f07549b165ac848ceffd2 diff --git a/pv/widgets/exportmenu.hpp b/pv/widgets/exportmenu.hpp index 7cd4407..3416c7b 100644 --- a/pv/widgets/exportmenu.hpp +++ b/pv/widgets/exportmenu.hpp @@ -14,12 +14,11 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ -#ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_H -#define PULSEVIEW_PV_WIDGETS_EXPORTMENU_H +#ifndef PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP +#define PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP #include @@ -40,7 +39,7 @@ class ExportMenu : public QMenu public: ExportMenu(QWidget *parent, std::shared_ptr context, - QAction *open_action = nullptr); + std::vectoropen_actions = std::vector()); private Q_SLOTS: void on_action(QObject *action); @@ -56,4 +55,4 @@ private: } // widgets } // pv -#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_H +#endif // PULSEVIEW_PV_WIDGETS_EXPORTMENU_HPP