use different window frame for user popup based on the setting

This commit is contained in:
fourtf
2020-08-13 17:17:53 +02:00
parent b2ae2e598f
commit 6f4f66b9d0
4 changed files with 13 additions and 9 deletions
@@ -451,7 +451,7 @@ QString CommandController::execCommand(const QString &textNoEmoji,
makeSystemMessage("Usage /usercard [user]"));
return "";
}
auto *userPopup = new UserInfoPopup;
auto *userPopup = new UserInfoPopup(false);
userPopup->setData(words[1], channel);
userPopup->move(QCursor::pos());
userPopup->show();