Changeset 29381 in vbox
- Timestamp:
- May 11, 2010 5:04:48 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 61490
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMLogViewer.cpp
r28800 r29381 246 246 tr ("Save VirtualBox Log As"), defaultFullName); 247 247 248 /* Save newlog into the file */248 /* Copy log into the file */ 249 249 if (!newFileName.isEmpty()) 250 { 251 /* Reread log data */ 252 QFile newFile (newFileName); 253 if (!newFile.open (QIODevice::WriteOnly)) 254 return; 255 256 /* Save log data into the new file */ 257 newFile.write (mLogFiles.at(mLogList->currentIndex()).second->toPlainText().toUtf8()); 258 } 250 QFile::copy(mMachine.QueryLogFilename(mLogList->currentIndex()), newFileName); 259 251 } 260 252
Note:
See TracChangeset
for help on using the changeset viewer.