From 48e6618c8d88062efaabf5ce153e0aaf62bbefd4 Mon Sep 17 00:00:00 2001 From: Phenom Date: Sun, 13 Sep 2015 19:00:31 +0200 Subject: [PATCH] Send Mouse event to FriendList's item, since ElidedLabel was fixed. --- retroshare-gui/src/gui/common/FriendList.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/retroshare-gui/src/gui/common/FriendList.cpp b/retroshare-gui/src/gui/common/FriendList.cpp index 2db31d734..3dbdfdd13 100644 --- a/retroshare-gui/src/gui/common/FriendList.cpp +++ b/retroshare-gui/src/gui/common/FriendList.cpp @@ -500,10 +500,6 @@ static void getNameWidget(QTreeWidget *treeWidget, QTreeWidgetItem *item, Elided nameLabel = new ElidedLabel(widget); textLabel = new ElidedLabel(widget); - widget->setAttribute(Qt::WA_TransparentForMouseEvents, true); - nameLabel->setAttribute(Qt::WA_TransparentForMouseEvents, true); - textLabel->setAttribute(Qt::WA_TransparentForMouseEvents, true); - widget->setProperty("nameLabel", qVariantFromValue(nameLabel)); widget->setProperty("textLabel", qVariantFromValue(textLabel));