diff --git a/limereport/translationeditor/languageselectdialog.h b/limereport/translationeditor/languageselectdialog.h index 0402327..48d53b4 100644 --- a/limereport/translationeditor/languageselectdialog.h +++ b/limereport/translationeditor/languageselectdialog.h @@ -8,18 +8,20 @@ namespace Ui { class LanguageSelectDialog; } -class LanguageSelectDialog : public QDialog -{ +class LanguageSelectDialog : public QDialog { Q_OBJECT -public: + public: explicit LanguageSelectDialog(QWidget *parent = 0); ~LanguageSelectDialog(); QLocale::Language getSelectedLanguage(); -private: + + private: Ui::LanguageSelectDialog *ui; }; +#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0) Q_DECLARE_METATYPE(QLocale::Language) +#endif #endif // LANGUAGESELECTDIALOG_H