mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-28 02:41:36 -05:00
Merge pull request #104 from PhenomRetroShare/Fix_ElidedLabel_mousePresEvent
Fix ElidedLabel::mousePressEvent.
This commit is contained in:
commit
1acd4a3b01
@ -221,5 +221,7 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev)
|
|||||||
{
|
{
|
||||||
if (mElided && (ev->buttons()==Qt::LeftButton) && (mRectElision.contains(ev->pos()))){
|
if (mElided && (ev->buttons()==Qt::LeftButton) && (mRectElision.contains(ev->pos()))){
|
||||||
QToolTip::showText(mapToGlobal(QPoint(0, 0)),QString("<FONT>") + mContent + QString("</FONT>"));
|
QToolTip::showText(mapToGlobal(QPoint(0, 0)),QString("<FONT>") + mContent + QString("</FONT>"));
|
||||||
|
return; // eat event
|
||||||
}
|
}
|
||||||
|
QLabel::mousePressEvent(ev);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user