mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 08:59:37 -05:00
Merge pull request #107 from PhenomRetroShare/AddFriendListItemMouseEvents
Send Mouse event to FriendList's item, since ElidedLabel was fixed.
This commit is contained in:
commit
900e51bf31
@ -500,10 +500,6 @@ static void getNameWidget(QTreeWidget *treeWidget, QTreeWidgetItem *item, Elided
|
|||||||
nameLabel = new ElidedLabel(widget);
|
nameLabel = new ElidedLabel(widget);
|
||||||
textLabel = 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("nameLabel", qVariantFromValue(nameLabel));
|
||||||
widget->setProperty("textLabel", qVariantFromValue(textLabel));
|
widget->setProperty("textLabel", qVariantFromValue(textLabel));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user