diff options
author | Simon Rettberg | 2018-08-06 14:34:28 +0200 |
---|---|---|
committer | Simon Rettberg | 2018-08-06 14:34:28 +0200 |
commit | 2c494ad445c0be44bb571137ea9b0e931c85d3d8 (patch) | |
tree | fb1cda3184a095b93a856e202ff1f40f61906761 | |
parent | 0 -> nullptr (diff) | |
download | vmchooser2-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.cpp | 2 |
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) { |