VirtualBox

Changeset 94007 in vbox


Ignore:
Timestamp:
Mar 1, 2022 1:06:31 AM (3 years ago)
Author:
vboxsync
Message:

FE/Qt: qt6: QFileInfo::created -> QFileInfo::birthTime (5.10+).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerHostTable.cpp

    r93990 r94007  
    373373        propertyStringList << UIFileManager::tr("<b>Type:</b> %1<br/>").arg(fileTypeString(fileType(fileInfo)));
    374374        /* Creation Date: */
     375#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
     376        propertyStringList << UIFileManager::tr("<b>Created:</b> %1<br/>").arg(fileInfo.birthTime().toString());
     377#else
    375378        propertyStringList << UIFileManager::tr("<b>Created:</b> %1<br/>").arg(fileInfo.created().toString());
     379#endif
    376380        /* Last Modification Date: */
    377381        propertyStringList << UIFileManager::tr("<b>Modified:</b> %1<br/>").arg(fileInfo.lastModified().toString());
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