From fdee55643aced475ae70c59a80b661d610c59f1b Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Wed, 19 Oct 2022 10:53:54 +0200 Subject: [PATCH] New dialog: Fix translations after refactoring The translation context unnecessarily changed. Change it back. Amends 4e7ee4687ba19e8b5e5a33fe457a92ebf0c55a61 Change-Id: Iee0f862bc492c6e90d58050d8a217eb9d485a2ee Reviewed-by: hjk Reviewed-by: --- src/plugins/coreplugin/dialogs/newdialogwidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/dialogs/newdialogwidget.h b/src/plugins/coreplugin/dialogs/newdialogwidget.h index 2231d9986c5..0b648724b17 100644 --- a/src/plugins/coreplugin/dialogs/newdialogwidget.h +++ b/src/plugins/coreplugin/dialogs/newdialogwidget.h @@ -6,6 +6,7 @@ #include "../iwizardfactory.h" #include "newdialog.h" +#include #include #include #include @@ -30,7 +31,7 @@ namespace Internal { class NewDialogWidget : public QDialog, public NewDialog { - Q_OBJECT + Q_DECLARE_TR_FUNCTIONS(Core::Internal::NewDialog) public: explicit NewDialogWidget(QWidget *parent);