Fixed /usercard on linux (#1755)
- /usercard command doesn't close imidiatelly - removed "Dialog" window flag. It seems to be unnecessary and causes issues (on left-clicking user name it sometimes didnt render unless you clicked 2-3 times.
This commit is contained in:
@@ -92,9 +92,6 @@ UserInfoPopup::UserInfoPopup()
|
||||
{
|
||||
this->setWindowTitle("Usercard");
|
||||
this->setStayInScreenRect(true);
|
||||
#ifdef Q_OS_LINUX
|
||||
this->setWindowFlag(Qt::Dialog);
|
||||
#endif
|
||||
|
||||
// Close the popup when Escape is pressed
|
||||
createWindowShortcut(this, "Escape", [this] { this->deleteLater(); });
|
||||
|
||||
Reference in New Issue
Block a user