mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-05 19:44:57 -04: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
1 changed files with 0 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue