Изменение базового класса окна About
[novacoin.git] / src / qt / aboutdialog.h
index 2ed9e9e..714970f 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef ABOUTDIALOG_H
 #define ABOUTDIALOG_H
 
-#include <QDialog>
+#include <QWidget>
 
 namespace Ui {
     class AboutDialog;
@@ -9,7 +9,7 @@ namespace Ui {
 class ClientModel;
 
 /** "About" dialog box */
-class AboutDialog : public QDialog
+class AboutDialog : public QWidget
 {
     Q_OBJECT
 
@@ -21,6 +21,8 @@ public:
 private:
     Ui::AboutDialog *ui;
 
+    void keyPressEvent(QKeyEvent *);
+
 private slots:
     void on_buttonBox_accepted();
 };