2022-01-09 06:42:13 +01:00
|
|
|
#include "gameinformationdialog.h"
|
|
|
|
|
#include "ui_gameinformationdialog.h"
|
|
|
|
|
|
|
|
|
|
GameInformationDialog::GameInformationDialog(QWidget *parent) :
|
|
|
|
|
QDialog{parent},
|
|
|
|
|
m_ui{std::make_unique<Ui::GameInformationDialog>()}
|
|
|
|
|
{
|
|
|
|
|
m_ui->setupUi(this);
|
2022-01-10 21:49:06 +01:00
|
|
|
|
|
|
|
|
#ifdef Q_OS_LINUX
|
2022-01-11 02:35:26 +01:00
|
|
|
setWindowFlags((windowFlags() & ~Qt::Dialog) | Qt::Window);
|
2022-01-10 21:49:06 +01:00
|
|
|
#endif
|
|
|
|
|
setWindowFlag(Qt::WindowMinimizeButtonHint);
|
|
|
|
|
setWindowFlag(Qt::WindowMaximizeButtonHint);
|
|
|
|
|
setWindowFlag(Qt::WindowCloseButtonHint);
|
2022-01-09 06:42:13 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
GameInformationDialog::~GameInformationDialog() = default;
|