Changeset 92324 in vbox
- Timestamp:
- Nov 10, 2021 2:37:29 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r91759 r92324 2055 2055 strFormat.toUtf8().constData()); 2056 2056 #else /* !VBOX_WS_X11 */ 2057 tmpImage.save(QDir::toNativeSeparators(QFile::encodeName(strFilename)), 2058 strFormat.toUtf8().constData()); 2057 QFile file(strFilename); 2058 if (file.open(QIODevice::WriteOnly)) 2059 tmpImage.save(&file, strFormat.toUtf8().constData()); 2059 2060 #endif /* !VBOX_WS_X11 */ 2060 2061 }
Note:
See TracChangeset
for help on using the changeset viewer.