Fix ElidedLabel::mousePressEvent.

This commit is contained in:
Phenom 2015-09-09 22:37:38 +02:00
parent ebd5da5e83
commit ce9fc7b7b5

View File

@ -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);
}