From 0a1f3efac5316676bd0a791acf6e5f231d1c177b Mon Sep 17 00:00:00 2001 From: Tannin Date: Tue, 7 Jul 2015 20:54:18 +0200 Subject: filter names in the filter pane now also show up as tooltips --- src/mainwindow.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 466fb1c0..869b7d70 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -2027,6 +2027,7 @@ void MainWindow::fileMoved(const QString &filePath, const QString &oldOriginName QTreeWidgetItem *MainWindow::addFilterItem(QTreeWidgetItem *root, const QString &name, int categoryID, ModListSortProxy::FilterType type) { QTreeWidgetItem *item = new QTreeWidgetItem(QStringList(name)); + item->setData(0, Qt::ToolTipRole, name); item->setData(0, Qt::UserRole, categoryID); item->setData(0, Qt::UserRole + 1, type); if (root != nullptr) { -- cgit v1.3.1