diff options
Diffstat (limited to 'src/modlistview.h')
| -rw-r--r-- | src/modlistview.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modlistview.h b/src/modlistview.h index 53be08c5..1a174568 100644 --- a/src/modlistview.h +++ b/src/modlistview.h @@ -169,7 +169,6 @@ protected slots: void onCustomContextMenuRequested(const QPoint& pos);
void onDoubleClicked(const QModelIndex& index);
- void onSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected);
void onFiltersCriteria(const std::vector<ModListSortProxy::Criteria>& filters);
private:
@@ -184,6 +183,11 @@ private: void onModInstalled(const QString& modName);
void onModFilterActive(bool filterActive);
+ // refresh the overwrite markers and the highligthed plugins from
+ // the current selection
+ //
+ void refreshMarkersAndPlugins();
+
// clear overwrite markers (without repainting)
//
void clearOverwriteMarkers();
@@ -267,6 +271,10 @@ private: QtGroupingProxy* m_byCategoryProxy;
QtGroupingProxy* m_byNexusIdProxy;
+ // marker used to avoid calling refreshing markers to many
+ // time in a row
+ QTimer m_refreshMarkersTimer;
+
// maintain collapsed items for each proxy to avoid
// losing them on model reset
std::map<QAbstractItemModel*, std::set<QString>> m_collapsed;
|
