Changeset 43762 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Oct 29, 2012 7:42:50 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 81690
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r43650 r43762 1880 1880 p.end(); 1881 1881 1882 /* Save the big image in the requested format .*/1882 /* Save the big image in the requested format: */ 1883 1883 const QFileInfo fi(strFile); 1884 const QString &strPath = fi.absolutePath() + "/" + fi.baseName();1884 const QString &strPathWithoutSuffix = QDir(fi.absolutePath()).absoluteFilePath(fi.baseName()); 1885 1885 const QString &strSuffix = fi.suffix().isEmpty() ? strFormat : fi.suffix(); 1886 bigImg.save(Q File::encodeName(QString("%1.%2").arg(strPath).arg(strSuffix)),1886 bigImg.save(QDir::toNativeSeparators(QFile::encodeName(QString("%1.%2").arg(strPathWithoutSuffix, strSuffix))), 1887 1887 strFormat.toAscii().constData()); 1888 1888 }
Note:
See TracChangeset
for help on using the changeset viewer.