fixed #177 user popup being off the screen
This commit is contained in:
@@ -787,7 +787,7 @@ void ChannelView::mouseReleaseEvent(QMouseEvent *event)
|
||||
case messages::Link::UserInfo: {
|
||||
auto user = link.getValue();
|
||||
this->userPopupWidget.setName(user);
|
||||
this->userPopupWidget.move(event->screenPos().toPoint());
|
||||
this->userPopupWidget.moveTo(this, event->screenPos().toPoint());
|
||||
this->userPopupWidget.show();
|
||||
this->userPopupWidget.setFocus();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user