summaryrefslogtreecommitdiffstats
path: root/collectionwidget.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2018-02-19 02:07:23 +0100
committerArno <arno@disconnect.de>2018-02-19 02:07:23 +0100
commit1789930645650d9302b484cf21317e606e8f14e8 (patch)
tree343f9941383b457601365557489e92b44b9128a5 /collectionwidget.cpp
parentb7775f392fe9f5d61e2d77c73a6509fa64626a51 (diff)
downloadBeetPlayer-1789930645650d9302b484cf21317e606e8f14e8.tar.gz
BeetPlayer-1789930645650d9302b484cf21317e606e8f14e8.tar.bz2
BeetPlayer-1789930645650d9302b484cf21317e606e8f14e8.zip
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...
Diffstat (limited to 'collectionwidget.cpp')
-rw-r--r--collectionwidget.cpp1
1 files changed, 1 insertions, 0 deletions
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);