Changeset 3018 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 4, 2007 10:43:44 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxVMLogViewer.ui.h
r3016 r3018 339 339 { 340 340 /* prepare "save as" dialog */ 341 QDate fullDate = QDate::currentDate(); 342 QTime fullTime = QTime::currentTime(); 343 QString date = fullDate.toString ("yyyy-MM-dd"); 344 QString time = fullTime.toString ("hh-mm-ss"); 345 QString defaultFileName = QString ("%1-%2-%3.log") 346 .arg (mMachine.GetName()).arg (date).arg (time); 341 QFileInfo fileInfo (mLogFilesList [mLogList->currentPageIndex()]); 342 QDateTime dtInfo = fileInfo.lastModified(); 343 QString dtString = dtInfo.toString ("yyyy-MM-dd-hh-mm-ss"); 344 QString defaultFileName = QString ("%1-%2.log") 345 .arg (mMachine.GetName()).arg (dtString); 347 346 QString defaultFullName = QDir::convertSeparators (QDir::home().absPath() + 348 347 "/" + defaultFileName);
Note:
See TracChangeset
for help on using the changeset viewer.