ClangFormat: Fix terminology

It is either `ClangFormat` (the product) or `clang-format` (the
executable).

Change-Id: I018abd8c6f3d33a7d93259f79ce09174e451a5df
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
Eike Ziller
2024-10-07 12:05:15 +02:00
parent 0f1526ed25
commit 6309a3c8d7
5 changed files with 18 additions and 16 deletions

View File

@@ -375,8 +375,10 @@ public:
private: private:
void slotImportClicked() final void slotImportClicked() final
{ {
const FilePath filePath = const FilePath filePath = FileUtils::getOpenFilePath(
FileUtils::getOpenFilePath(this, Tr::tr("Import Code Format"), {}, this,
Tr::tr("Import Code Format"),
{},
Tr::tr("ClangFormat (*clang-format*);;All files (*)")); Tr::tr("ClangFormat (*clang-format*);;All files (*)"));
if (!filePath.isEmpty()) { if (!filePath.isEmpty()) {
QString name = QInputDialog::getText( QString name = QInputDialog::getText(