use different window frame for user popup based on the setting
This commit is contained in:
@@ -1820,11 +1820,7 @@ void ChannelView::hideEvent(QHideEvent *)
|
||||
|
||||
void ChannelView::showUserInfoPopup(const QString &userName)
|
||||
{
|
||||
auto *userPopup = new UserInfoPopup;
|
||||
if (getSettings()->autoCloseUserPopup)
|
||||
{
|
||||
userPopup->setActionOnFocusLoss(BaseWindow::Delete);
|
||||
}
|
||||
auto *userPopup = new UserInfoPopup(getSettings()->autoCloseUserPopup);
|
||||
userPopup->setData(userName, this->hasSourceChannel() ? this->sourceChannel_
|
||||
: this->channel_);
|
||||
QPoint offset(int(150 * this->scale()), int(70 * this->scale()));
|
||||
|
||||
Reference in New Issue
Block a user