summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2018-08-06 14:34:28 +0200
committerSimon Rettberg2018-08-06 14:34:28 +0200
commit2c494ad445c0be44bb571137ea9b0e931c85d3d8 (patch)
treefb1cda3184a095b93a856e202ff1f40f61906761
parent0 -> nullptr (diff)
downloadvmchooser2-2c494ad445c0be44bb571137ea9b0e931c85d3d8.tar.gz
vmchooser2-2c494ad445c0be44bb571137ea9b0e931c85d3d8.tar.xz
vmchooser2-2c494ad445c0be44bb571137ea9b0e931c85d3d8.zip
Remove long description as toolTop
As the name suggests, the long description can get quite long, which looks pretty weird/ugly as a tooltip. Since the long description is prominently displayed to the right after selecting an item, get rid of the tooltip altogether.
-rw-r--r--src/sessiontreemodel.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/sessiontreemodel.cpp b/src/sessiontreemodel.cpp
index bb96f0e..deda9b7 100644
--- a/src/sessiontreemodel.cpp
+++ b/src/sessiontreemodel.cpp
@@ -51,8 +51,6 @@ QVariant SessionTreeModel::data(const QModelIndex &index, int role) const {
if (s) {
if (role == Qt::DisplayRole)
return s->shortDescription();
- if (role == Qt::ToolTipRole)
- return s->description();
if (role == Qt::ForegroundRole)
return s->foregroundRole();
if (role == Qt::DecorationRole) {