fixed Board posts links copy on right-click

This commit is contained in:
csoler 2023-07-18 20:03:46 +02:00
parent 030bc46d26
commit 10feb45bce
2 changed files with 7 additions and 2 deletions

View File

@ -258,6 +258,10 @@ void ElidedLabel::mousePressEvent(QMouseEvent *ev)
return; // eat event return; // eat event
} }
QLabel::mousePressEvent(ev); QLabel::mousePressEvent(ev);
if(ev->buttons()==Qt::RightButton)
emit rightClicked(ev->pos());
else
emit clicked(ev->pos()); emit clicked(ev->pos());
} }

View File

@ -77,6 +77,7 @@ protected:
signals: signals:
void elisionChanged(bool elided); void elisionChanged(bool elided);
void rightClicked(QPoint pos);
void clicked(QPoint pos); void clicked(QPoint pos);
private: private: