diff options
author | Petr Mrázek <peterix@gmail.com> | 2019-01-09 04:38:35 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2019-01-09 04:38:35 +0100 |
commit | c08053d8b87de4d0fd4f9ac51021e03dfd851420 (patch) | |
tree | 8c947a06781438d8dc2e139e81634bf39b7f3a76 /application/setupwizard/LanguageWizardPage.h | |
parent | e71786d7b97c6e3b7aa91d085c935ef67832abc3 (diff) | |
download | PrismLauncher-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar.gz PrismLauncher-c08053d8b87de4d0fd4f9ac51021e03dfd851420.tar.bz2 PrismLauncher-c08053d8b87de4d0fd4f9ac51021e03dfd851420.zip |
NOISSUE split out language selection widget, use it in settings
Diffstat (limited to 'application/setupwizard/LanguageWizardPage.h')
-rw-r--r-- | application/setupwizard/LanguageWizardPage.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/application/setupwizard/LanguageWizardPage.h b/application/setupwizard/LanguageWizardPage.h index bfc02c95..45a0e5c0 100644 --- a/application/setupwizard/LanguageWizardPage.h +++ b/application/setupwizard/LanguageWizardPage.h @@ -2,9 +2,7 @@ #include "BaseWizardPage.h" -class QVBoxLayout; -class QTreeView; -class QLabel; +class LanguageSelectionWidget; class LanguageWizardPage : public BaseWizardPage { @@ -23,11 +21,6 @@ public: protected: void retranslate() override; -protected slots: - void languageRowChanged(const QModelIndex ¤t, const QModelIndex &previous); - private: - QVBoxLayout *verticalLayout = nullptr; - QTreeView *languageView = nullptr; - QLabel *helpUsLabel = nullptr; + LanguageSelectionWidget *mainWidget = nullptr; }; |