summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Swift/QtUI/QtAboutWidget.cpp2
-rw-r--r--Swift/QtUI/QtAboutWidget.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Swift/QtUI/QtAboutWidget.cpp b/Swift/QtUI/QtAboutWidget.cpp
index d4f8386..9edcb83 100644
--- a/Swift/QtUI/QtAboutWidget.cpp
+++ b/Swift/QtUI/QtAboutWidget.cpp
@@ -11,7 +11,7 @@
namespace Swift {
-QtAboutWidget::QtAboutWidget() : QWidget() {
+QtAboutWidget::QtAboutWidget() : QDialog() {
resize(180, 240);
QVBoxLayout *mainLayout = new QVBoxLayout(this);
mainLayout->setAlignment(Qt::AlignHCenter);
diff --git a/Swift/QtUI/QtAboutWidget.h b/Swift/QtUI/QtAboutWidget.h
index 4d99bbb..085cf51 100644
--- a/Swift/QtUI/QtAboutWidget.h
+++ b/Swift/QtUI/QtAboutWidget.h
@@ -1,9 +1,9 @@
#pragma once
-#include <QWidget>
+#include <QDialog>
namespace Swift {
- class QtAboutWidget : public QWidget {
+ class QtAboutWidget : public QDialog {
Q_OBJECT
public: