summaryrefslogtreecommitdiffstats
path: root/seriestreewidget.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-08-05 20:39:09 +0200
committerArno <am@disconnect.de>2010-08-05 20:39:09 +0200
commit9e12957c363a68543456dfe95ab88a11a69ae610 (patch)
tree77c1e10e7547d8764fa4a6da5d39368ec7d6540e /seriestreewidget.h
parent3ed95b4e8edd7faaefa0a296a8d33f1dadd60b83 (diff)
downloadSheMov-9e12957c363a68543456dfe95ab88a11a69ae610.tar.gz
SheMov-9e12957c363a68543456dfe95ab88a11a69ae610.tar.bz2
SheMov-9e12957c363a68543456dfe95ab88a11a69ae610.zip
Fixed edit trigger in SeriesTreeView
Until now doubleclicking an item with children in SeriesTreeWidget did 3 things: 1. Expand or collapse the item 2. Trigger editing 3. Start playing all child movies in the default player This is not really expected behavior. So I disabled all EditTriggers on SeriesTreeView and set expandsOnDoubleClick to false. To still retain the ability to edit series a new slot was introduced to SeriesTreeWidget triggering the edit event. It's available from the SeriesTreeWidget context menu. Now doubleclicking an item in SeriesTreeView just plays all child movies. Child items also have their name changed when changing the parent item. This bug was long present in renameSeries. mergeSeries always did the right thing (tm).
Diffstat (limited to 'seriestreewidget.h')
-rw-r--r--seriestreewidget.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/seriestreewidget.h b/seriestreewidget.h
index 2e28c1c..a917501 100644
--- a/seriestreewidget.h
+++ b/seriestreewidget.h
@@ -46,6 +46,7 @@ class SeriesTreeWidget : public QWidget {
void itemExpanded(const QModelIndex &);
void itemCollaped(const QModelIndex &);
void expandItems(const QStringList &items);
+ void editItem();
signals:
void filesReload();