Utils: Push FilePath::toString border line a bit further

... in SaveFile

Change-Id: I80164853b8a756af8c74038b0375c423a6f500e2
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
hjk
2023-01-13 09:53:45 +01:00
parent 6585b3668c
commit 2ce413112b
4 changed files with 14 additions and 14 deletions

View File

@@ -358,7 +358,7 @@ void CppModelManager::showPreprocessedFile(bool inNextSplit)
};
static const auto saveAndOpen = [](const FilePath &filePath, const QByteArray &contents,
bool inNextSplit) {
SaveFile f(filePath.toString());
SaveFile f(filePath);
if (!f.open()) {
showError(Tr::tr("Failed to open output file \"%1\".").arg(filePath.toUserOutput()));
return;