From 810c9e710686cd8b247f8e50428b42fc79ca1c75 Mon Sep 17 00:00:00 2001 From: Artem Sokolovskii Date: Fri, 1 Mar 2024 12:18:18 +0100 Subject: [PATCH] ClangFormat: Fix vague error message Change-Id: I321d74a80c1735dad3edb6e542451cab3a71a3f7 Reviewed-by: Leena Miettinen --- src/plugins/clangformat/clangformatconfigwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/clangformat/clangformatconfigwidget.cpp b/src/plugins/clangformat/clangformatconfigwidget.cpp index 99b8302d369..9adf94cafc1 100644 --- a/src/plugins/clangformat/clangformatconfigwidget.cpp +++ b/src/plugins/clangformat/clangformatconfigwidget.cpp @@ -343,8 +343,8 @@ void ClangFormatConfigWidget::apply() } QMessageBox mBox; - mBox.setText( - Tr::tr("The current settings are not valid. Are you sure you want to apply them?")); + mBox.setText(Tr::tr("The current ClangFormat (C++ > Code Style > ClangFormat) settings are not " + "valid. Are you sure you want to apply them?")); mBox.setStandardButtons(QMessageBox::No | QMessageBox::Yes); mBox.setDefaultButton(QMessageBox::No); if (mBox.exec() == QMessageBox::Yes)