forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user