mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Enable dialog close button.
This commit is contained in:
parent
96d98c1da5
commit
205e98cca3
|
@ -32,7 +32,7 @@ int openConfigDialog(const wchar_t * _strFileName, bool & _accepted)
|
|||
if (translator.load(getTranslationFile(), strIniFileName))
|
||||
a.installTranslator(&translator);
|
||||
|
||||
ConfigDialog w(Q_NULLPTR, Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
|
||||
ConfigDialog w(Q_NULLPTR, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);
|
||||
|
||||
w.setIniPath(strIniFileName);
|
||||
w.show();
|
||||
|
@ -55,7 +55,7 @@ int openAboutDialog(const wchar_t * _strFileName)
|
|||
if (translator.load(getTranslationFile(), QString::fromWCharArray(_strFileName)))
|
||||
a.installTranslator(&translator);
|
||||
|
||||
AboutDialog w(Q_NULLPTR, Qt::WindowTitleHint | Qt::WindowSystemMenuHint);
|
||||
AboutDialog w(Q_NULLPTR, Qt::WindowTitleHint | Qt::WindowSystemMenuHint | Qt::WindowCloseButtonHint);
|
||||
w.show();
|
||||
return a.exec();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user