Fixed click in column "Friend nodes" in FriendList.

This commit is contained in:
thunder2 2015-09-06 14:21:05 +02:00
parent 869077b4a5
commit 5f36500d02

View File

@ -500,6 +500,10 @@ 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));