[Pkg-owncloud-commits] [owncloud-client] 330/484: ActivityWidget: Show the subject in the Tooltip.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Wed Dec 16 00:38:00 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit ccb871c30b24d624641539caac6a417e9682c339
Author: Klaas Freitag <freitag at owncloud.com>
Date: Mon Nov 16 16:44:52 2015 +0100
ActivityWidget: Show the subject in the Tooltip.
the original text might be elided.
---
src/gui/activitywidget.cpp | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/gui/activitywidget.cpp b/src/gui/activitywidget.cpp
index cbb06db..731c026 100644
--- a/src/gui/activitywidget.cpp
+++ b/src/gui/activitywidget.cpp
@@ -73,13 +73,11 @@ QVariant ActivityListModel::data(const QModelIndex &index, int role) const
switch (role) {
case ActivityItemDelegate::PathRole:
- case Qt::ToolTipRole:
list = FolderMan::instance()->findFileInLocalFolders(a._file);
if( list.count() > 0 ) {
return QVariant(list.at(0));
}
return QVariant();
-
break;
case ActivityItemDelegate::ActionIconRole:
return QVariant(); // FIXME once the action can be quantified, display on Icon
@@ -87,6 +85,7 @@ QVariant ActivityListModel::data(const QModelIndex &index, int role) const
case ActivityItemDelegate::UserIconRole:
return QIcon(QLatin1String(":/client/resources/account.png"));
break;
+ case Qt::ToolTipRole:
case ActivityItemDelegate::ActionTextRole:
return a._subject;
break;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list