forked from qt-creator/qt-creator
ClangFormat: Fix vague error message
Change-Id: I321d74a80c1735dad3edb6e542451cab3a71a3f7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -343,8 +343,8 @@ void ClangFormatConfigWidget::apply()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QMessageBox mBox;
|
QMessageBox mBox;
|
||||||
mBox.setText(
|
mBox.setText(Tr::tr("The current ClangFormat (C++ > Code Style > ClangFormat) settings are not "
|
||||||
Tr::tr("The current settings are not valid. Are you sure you want to apply them?"));
|
"valid. Are you sure you want to apply them?"));
|
||||||
mBox.setStandardButtons(QMessageBox::No | QMessageBox::Yes);
|
mBox.setStandardButtons(QMessageBox::No | QMessageBox::Yes);
|
||||||
mBox.setDefaultButton(QMessageBox::No);
|
mBox.setDefaultButton(QMessageBox::No);
|
||||||
if (mBox.exec() == QMessageBox::Yes)
|
if (mBox.exec() == QMessageBox::Yes)
|
||||||
|
Reference in New Issue
Block a user