aboutsummaryrefslogtreecommitdiff
path: root/src/qt/utilitydialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/utilitydialog.h')
-rw-r--r--src/qt/utilitydialog.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.h b/src/qt/utilitydialog.h
index 154bb70b8b..ae5045cca9 100644
--- a/src/qt/utilitydialog.h
+++ b/src/qt/utilitydialog.h
@@ -37,12 +37,16 @@ private slots:
/** "Shutdown" window */
-class ShutdownWindow : public QObject
+class ShutdownWindow : public QWidget
{
Q_OBJECT
public:
+ ShutdownWindow(QWidget *parent=0, Qt::WindowFlags f=0);
static void showShutdownWindow(BitcoinGUI *window);
+
+protected:
+ void closeEvent(QCloseEvent *event);
};
#endif // UTILITYDIALOG_H