Skip to content
Snippets Groups Projects
Commit 58ab6111 authored by Denis Dzyubenko's avatar Denis Dzyubenko
Browse files

Enabled tooltips in quickopen

Reviewed-by: Thorbjorn Lindeijer
parent e4ff0c8b
No related branches found
No related tags found
No related merge requests found
...@@ -145,7 +145,7 @@ QVariant QuickOpenModel::data(const QModelIndex &index, int role) const ...@@ -145,7 +145,7 @@ QVariant QuickOpenModel::data(const QModelIndex &index, int role) const
if (!index.isValid() || index.row() >= mEntries.size()) if (!index.isValid() || index.row() >= mEntries.size())
return QVariant(); return QVariant();
if (role == Qt::DisplayRole) { if (role == Qt::DisplayRole || role == Qt::ToolTipRole) {
if (index.column() == 0) { if (index.column() == 0) {
return mEntries.at(index.row()).displayName; return mEntries.at(index.row()).displayName;
} else if (index.column() == 1) { } else if (index.column() == 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment