mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-21 20:38:50 -04:00
fixed Board posts links copy on right-click
This commit is contained in:
parent
030bc46d26
commit
10feb45bce
2 changed files with 7 additions and 2 deletions
|
@ -258,7 +258,11 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev)
|
|||
return; // eat event
|
||||
}
|
||||
QLabel::mousePressEvent(ev);
|
||||
emit clicked(ev->pos());
|
||||
|
||||
if(ev->buttons()==Qt::RightButton)
|
||||
emit rightClicked(ev->pos());
|
||||
else
|
||||
emit clicked(ev->pos());
|
||||
}
|
||||
|
||||
void ElidedLabel::setTextColor(const QColor &color)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue