Merge pull request #107 from PhenomRetroShare/AddFriendListItemMouseEvents

Send Mouse event to FriendList's item, since ElidedLabel was fixed.
This commit is contained in:
Cyril Soler 2015-09-13 18:08:06 -04:00
commit 900e51bf31

View File

@ -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));