mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Merge pull request #8357 from nextcloud/bugfix/cleanCompilationWarningOnWindows
fix(warning): avoid compilation warning by specifying type
This commit is contained in:
commit
fd52d31eca
@ -51,7 +51,7 @@ QString createErrorMessageForPlaceholderUpdateAndCreate(const QString &path, con
|
||||
for (const auto &fileComponent : fileComponents) {
|
||||
if (fileComponent.startsWith(forbiddenLeadingCharacterInPath)) {
|
||||
qCInfo(lcCfApiWrapper) << "Failed to create/update a placeholder for path \"" << pathFromNativeSeparators << "\" that has a leading '#'.";
|
||||
return {(originalErrorMessage + QStringLiteral(": ") + QObject::tr("Paths beginning with '#' character are not supported in VFS mode."))};
|
||||
return QString{originalErrorMessage + QStringLiteral(": ") + QObject::tr("Paths beginning with '#' character are not supported in VFS mode.")};
|
||||
}
|
||||
}
|
||||
return originalErrorMessage;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user