mirror of
https://github.com/vcmi/vcmi.git
synced 2026-06-19 22:57:37 +02:00
close button for dialogs on mobile
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
|
||||
#include "StdInc.h"
|
||||
#include "validator.h"
|
||||
#include "helper.h"
|
||||
#include "mapcontroller.h"
|
||||
#include "ui_validator.h"
|
||||
#include "../lib/entities/hero/CHero.h"
|
||||
@@ -27,7 +28,7 @@ Validator::Validator(const CMap * map, QWidget *parent) :
|
||||
|
||||
screenGeometry = QApplication::primaryScreen()->availableGeometry();
|
||||
|
||||
setWindowFlags(Qt::Dialog | Qt::WindowTitleHint | Qt::WindowCloseButtonHint);
|
||||
Helper::decorateDialog(this);
|
||||
|
||||
showValidationResults(map);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user