mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
added missing change in previous commit
This commit is contained in:
parent
10feb45bce
commit
7a4558a3da
@ -259,10 +259,10 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev)
|
|||||||
}
|
}
|
||||||
QLabel::mousePressEvent(ev);
|
QLabel::mousePressEvent(ev);
|
||||||
|
|
||||||
if(ev->buttons()==Qt::RightButton)
|
if(ev->buttons()==Qt::LeftButton)
|
||||||
emit rightClicked(ev->pos());
|
|
||||||
else
|
|
||||||
emit clicked(ev->pos());
|
emit clicked(ev->pos());
|
||||||
|
else if(ev->buttons()==Qt::RightButton)
|
||||||
|
emit rightClicked(ev->pos());
|
||||||
}
|
}
|
||||||
|
|
||||||
void ElidedLabel::setTextColor(const QColor &color)
|
void ElidedLabel::setTextColor(const QColor &color)
|
||||||
|
Loading…
Reference in New Issue
Block a user