VirtualBox

Changeset 72224 in vbox for trunk/src


Ignore:
Timestamp:
May 16, 2018 10:42:33 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: Add 'setting file location' item to snapshots details

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotDetailsWidget.cpp

    r71104 r72224  
    11671167                                                     empReport(vboxGlobal().vmGuestOSTypeDescription(comMachine.GetOSTypeId()),
    11681168                                                               vboxGlobal().vmGuestOSTypeDescription(comMachineOld.GetOSTypeId())));
     1169
     1170            /* Location of the settings file: */
     1171            QString strSettingsFilePath = comMachine.GetSettingsFilePath();
     1172            QString strOldSettingsFilePath = comMachineOld.GetSettingsFilePath();
     1173            QString strSettingsFolder = !strSettingsFilePath.isEmpty() ?
     1174                QDir::toNativeSeparators(QFileInfo(strSettingsFilePath).absolutePath()) : QString();
     1175            QString strOldSettingsFolder  = !strOldSettingsFilePath.isEmpty() ?
     1176                QDir::toNativeSeparators(QFileInfo(strOldSettingsFilePath).absolutePath()) : QString();
     1177
     1178            ++iRowCount;
     1179            strItem += QString(sSectionItemTpl2).arg(QApplication::translate("UIGDetails", "Settings File Location", "details (general)"),
     1180                                                     empReport(strSettingsFolder, strOldSettingsFolder));
    11691181
    11701182            /* Groups? */
     
    19411953
    19421954#include "UISnapshotDetailsWidget.moc"
    1943 
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette