mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-19 06:20:44 -04:00
Merge pull request #104 from PhenomRetroShare/Fix_ElidedLabel_mousePresEvent
Fix ElidedLabel::mousePressEvent.
This commit is contained in:
commit
1acd4a3b01
1 changed files with 2 additions and 0 deletions
|
@ -221,5 +221,7 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev)
|
|||
{
|
||||
if (mElided && (ev->buttons()==Qt::LeftButton) && (mRectElision.contains(ev->pos()))){
|
||||
QToolTip::showText(mapToGlobal(QPoint(0, 0)),QString("<FONT>") + mContent + QString("</FONT>"));
|
||||
return; // eat event
|
||||
}
|
||||
QLabel::mousePressEvent(ev);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue