forked from qt-creator/qt-creator
Core: filepathify IDocument
Change-Id: I364a80d070c5f90433309c281c4906ee101a1a1a Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -69,7 +69,7 @@ void VirtualFileSystemOverlay::update()
|
||||
.pathAppended(doc->filePath().fileName() + ".auto");
|
||||
while (saved.path.exists())
|
||||
saved.path = saved.path + ".1";
|
||||
if (!doc->save(&error, saved.path.toString(), true)) {
|
||||
if (!doc->save(&error, saved.path, true)) {
|
||||
qCDebug(LOG) << error;
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user