Skip to content

Commit

Permalink
RMG: add minimize button hint to LogDialog and NetplaySessionDialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jan 24, 2025
1 parent 191c7b1 commit 82291ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/RMG/UserInterface/Dialog/LogDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ LogDialog::LogDialog(QWidget *parent) : QDialog(parent)
{
this->setupUi(this);
this->setWindowIcon(QIcon(":Resource/RMG.png"));
this->setWindowFlags(this->windowFlags() | Qt::WindowMinimizeButtonHint);

QFont font("monospace");
#ifdef _WIN32
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ using namespace Utilities;
NetplaySessionDialog::NetplaySessionDialog(QWidget *parent, QWebSocket* webSocket, QJsonObject json, QString sessionFile) : QDialog(parent)
{
this->setupUi(this);
this->setWindowFlags(this->windowFlags() | Qt::WindowMinimizeButtonHint);

this->webSocket = webSocket;

Expand Down

0 comments on commit 82291ce

Please sign in to comment.