From 1789930645650d9302b484cf21317e606e8f14e8 Mon Sep 17 00:00:00 2001 From: Arno Date: Mon, 19 Feb 2018 02:07:23 +0100 Subject: Add customActions to CollectionWidget This is supposed to be an easy way to add custom QActions to the context menu. The idea seems sound, but let's see how it turns out... --- collectionwidget.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'collectionwidget.cpp') diff --git a/collectionwidget.cpp b/collectionwidget.cpp index 0fda8c0..96c46fc 100644 --- a/collectionwidget.cpp +++ b/collectionwidget.cpp @@ -10,6 +10,7 @@ #include "collectionwidgetproxy.h" CollectionWidget::CollectionWidget(QWidget *parent) : QWidget(parent){ + mCustomActions = new QActionGroup(this); mView = new BeetView; mModel = new QStandardItemModel(this); CollectionWidgetProxy *proxy = new CollectionWidgetProxy(this); -- cgit v1.2.3-70-g09d2