Send Mouse event to FriendList's item, since ElidedLabel was fixed.

This commit is contained in:
Phenom 2015-09-13 19:00:31 +02:00
parent 7195d4c20d
commit 48e6618c8d

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