From 2c494ad445c0be44bb571137ea9b0e931c85d3d8 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 6 Aug 2018 14:34:28 +0200 Subject: 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. --- src/sessiontreemodel.cpp | 2 -- 1 file changed, 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) { -- cgit v1.2.3-55-g7522