mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-26 07:59:35 -05:00
fixed Board posts links copy on right-click
This commit is contained in:
parent
030bc46d26
commit
10feb45bce
@ -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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user