Skip to content

Commit 4079df4

Browse files
committed
clang-format
1 parent 4775bfd commit 4079df4

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

‎src/plugins/ProjectManager/kitdetector.cpp‎

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,8 @@ auto findQtVersions(bool unix_target, std::vector<ExtraPath> &detectedQt,
479479
}
480480

481481
// A MinGW-built Qt ships its own runtime DLLs in bin/
482-
for (const auto &dll : {"libgcc_s_seh-1.dll", "libgcc_s_dw2-1.dll",
483-
"libstdc++-6.dll", "libwinpthread-1.dll"}) {
482+
for (const auto &dll : {"libgcc_s_seh-1.dll", "libgcc_s_dw2-1.dll", "libstdc++-6.dll",
483+
"libwinpthread-1.dll"}) {
484484
if (std::filesystem::exists(qtPath / "bin" / dll)) {
485485
return Toolchain::MinGW;
486486
}
@@ -697,9 +697,8 @@ void generateKitFiles(const std::filesystem::path &directoryPath,
697697
auto cc = compilers.empty() ? ExtraPath() : compilers[pair.compiler_index];
698698
auto qtInst = qtInstalls.empty() ? ExtraPath() : qtInstalls[pair.qt_index];
699699

700-
auto scriptName = std::string("qtedit-kit-")
701-
.append(std::to_string(kitNumber))
702-
.append(SCRIPT_EXTENSION);
700+
auto scriptName =
701+
std::string("qtedit-kit-").append(std::to_string(kitNumber)).append(SCRIPT_EXTENSION);
703702
auto scriptPath = directoryPath / scriptName;
704703
std::ofstream scriptFile(scriptPath.string());
705704
if (!scriptFile) {

0 commit comments

Comments
 (0)