From ebfeb2fbf95df4a2246ff2ef1cd6b48f373b70f3 Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 14 Dec 2014 18:25:26 +0100 Subject: - mod-list can now be re-ordered with drag&drop while grouping is active - drag&drop is not disabled when ordering by other columns than priority. MO will notify using messagedialog that it's impossible instead. --- src/qtgroupingproxy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qtgroupingproxy.h') diff --git a/src/qtgroupingproxy.h b/src/qtgroupingproxy.h index 7df069f7..6567cb0e 100644 --- a/src/qtgroupingproxy.h +++ b/src/qtgroupingproxy.h @@ -73,6 +73,7 @@ public: virtual bool canFetchMore( const QModelIndex &parent ) const; virtual void fetchMore( const QModelIndex &parent ); virtual bool hasChildren( const QModelIndex &parent = QModelIndex() ) const; + virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); /* QtGroupingProxy methods */ virtual QModelIndex addEmptyGroup( const RowData &data ); @@ -162,6 +163,7 @@ private: int m_groupedRole; int m_aggregateRole; + }; #endif //GROUPINGPROXY_H -- cgit v1.3.1