diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-13 12:24:02 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-12-13 12:24:02 -0600 |
commit | 0a4b3b9cd1095f05651bff685d02c809db8768a9 (patch) | |
tree | 38fde288e82b90c1723c8363a6fa8e07a58effad /ui/qt5/horizonwizard.hh | |
parent | 1257064e43c6c4269e1b8cf0507b238fd4a0ab1a (diff) | |
download | horizon-0a4b3b9cd1095f05651bff685d02c809db8768a9.tar.gz horizon-0a4b3b9cd1095f05651bff685d02c809db8768a9.tar.bz2 horizon-0a4b3b9cd1095f05651bff685d02c809db8768a9.tar.xz horizon-0a4b3b9cd1095f05651bff685d02c809db8768a9.zip |
Qt UI: Handle cancel/exit of wizard using the proper pattern
Diffstat (limited to 'ui/qt5/horizonwizard.hh')
-rw-r--r-- | ui/qt5/horizonwizard.hh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index 272886f..d7ce52d 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -94,9 +94,10 @@ public: HorizonWizard(QWidget *parent = nullptr); void accept(); + void reject(); /*! Emit a HorizonScript file with the user's choices. */ QString toHScript(); - QShortcut *esc, *f1, *f3, *f6, *f8; + QShortcut *f1, *f3, *f6, *f8; /*! The domain to use for downloading packages. * @example distfiles.adelielinux.org |