diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-27 11:19:45 -0600 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-11-27 11:19:45 -0600 |
commit | b9fad79ccf775de757997f532a45d6c300ae2a73 (patch) | |
tree | 199d0c0d0a48e308345c2ce05ef5d2368acfe58d | |
parent | 357387e664f78cd3727fbbd53178ae6b57257138 (diff) | |
download | horizon-b9fad79ccf775de757997f532a45d6c300ae2a73.tar.gz horizon-b9fad79ccf775de757997f532a45d6c300ae2a73.tar.bz2 horizon-b9fad79ccf775de757997f532a45d6c300ae2a73.tar.xz horizon-b9fad79ccf775de757997f532a45d6c300ae2a73.zip |
Qt UI: Rename F6 shortcut variable
-rw-r--r-- | ui/qt5/horizonwizard.cc | 6 | ||||
-rw-r--r-- | ui/qt5/horizonwizard.hh | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/qt5/horizonwizard.cc b/ui/qt5/horizonwizard.cc index b44c8fa..3002c19 100644 --- a/ui/qt5/horizonwizard.cc +++ b/ui/qt5/horizonwizard.cc @@ -254,10 +254,10 @@ HorizonWizard::HorizonWizard(QWidget *parent) : QWizard(parent) { button(CancelButton), &QAbstractButton::click); f3->setWhatsThis(tr("Prompts to exit the installation.")); - f5 = new QShortcut(Qt::Key_F6, this); - connect(f5, &QShortcut::activated, + f6 = new QShortcut(Qt::Key_F6, this); + connect(f6, &QShortcut::activated, button(BackButton), &QAbstractButton::click); - f5->setWhatsThis(tr("Goes back to the previous page.")); + f6->setWhatsThis(tr("Goes back to the previous page.")); f8 = new QShortcut(Qt::Key_F8, this); connect(f8, &QShortcut::activated, diff --git a/ui/qt5/horizonwizard.hh b/ui/qt5/horizonwizard.hh index b025589..2d1b26b 100644 --- a/ui/qt5/horizonwizard.hh +++ b/ui/qt5/horizonwizard.hh @@ -86,7 +86,7 @@ public: }; HorizonWizard(QWidget *parent = nullptr); - QShortcut *f1, *f3, *f5, *f8; + QShortcut *f1, *f3, *f6, *f8; std::string mirror_domain; std::string version; |