summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2009-09-12 18:26:50 (GMT)
committerKevin Smith <git@kismith.co.uk>2009-09-12 18:26:50 (GMT)
commit7e157ace6678dd4af7a091ea5cc5fbc3baabe7f7 (patch)
tree0b9de0282a9dd741802f36c875b7a6f324fb735c
parentd29ce2effc0126e9b1fe0d7fe5ea89b92289cb7e (diff)
downloadswift-7e157ace6678dd4af7a091ea5cc5fbc3baabe7f7.zip
swift-7e157ace6678dd4af7a091ea5cc5fbc3baabe7f7.tar.bz2
Change QtAboutWidget to be a QDialog
-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: