refactor: clang format line length

This commit is contained in:
Lars Toenning
2024-11-16 19:27:30 +01:00
parent c7779e1461
commit 1a0b2a8c5f
1352 changed files with 25994 additions and 26603 deletions

View File

@@ -46,10 +46,7 @@ namespace swift::misc
if (!CCompressUtils::hasZip7(stdOutAndError)) { return false; }
const bool win = CBuildConfig::isRunningOnWindowsNtPlatform();
const QString d =
directory.isEmpty() ? directory :
win ? CFileUtils::toWindowsLocalPath(directory) :
directory;
const QString d = directory.isEmpty() ? directory : win ? CFileUtils::toWindowsLocalPath(directory) : directory;
const QString f = win ? CFileUtils::toWindowsLocalPath(file) : file;
// 7za.exe x -o"P:\Temp\XPlane" c:\Users\Foo\Downloads\xswiftbus-allos-0.8.4.802111947.7z
@@ -69,10 +66,7 @@ namespace swift::misc
bool CCompressUtils::hasZip7(QStringList *stdOutAndError)
{
// just display info
if (CBuildConfig::isRunningOnLinuxPlatform())
{
return CCompressUtils::whichZip7(stdOutAndError);
}
if (CBuildConfig::isRunningOnLinuxPlatform()) { return CCompressUtils::whichZip7(stdOutAndError); }
QStringList args;
args << "i";