ADS: Replace some uses of FilePath::toString

Change-Id: Id6482e6e15d4c28f05a30b7eb05401cda4bce854
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2023-07-25 12:40:08 +02:00
parent 70b59e7400
commit 2260c12f6c

View File

@@ -1548,7 +1548,7 @@ void DockManager::syncWorkspacePresets()
// Try do create the 'workspaces' directory if it doesn't exist already // Try do create the 'workspaces' directory if it doesn't exist already
if (!userDirectory().ensureWritableDir()) { if (!userDirectory().ensureWritableDir()) {
qWarning() << QString("Could not make directory '%1')").arg(userDirectory().toString()); qWarning() << QString("Could not make directory '%1')").arg(userDirectory().toUserOutput());
return; return;
} }
@@ -1573,8 +1573,8 @@ void DockManager::syncWorkspacePresets()
userDirectory().pathAppended(filePath.fileName())); userDirectory().pathAppended(filePath.fileName()));
if (!copyResult) if (!copyResult)
qWarning() << QString("Could not copy '%1' to '%2' due to %3") qWarning() << QString("Could not copy '%1' to '%2' due to %3")
.arg(filePath.toString(), .arg(filePath.toUserOutput(),
userDirectory().toString(), userDirectory().toUserOutput(),
copyResult.error()); copyResult.error());
} }
} }