This commit is contained in:
DavidXanatos 2024-11-21 19:09:20 +01:00
parent 1bee72976a
commit 12e48468df
2 changed files with 3 additions and 3 deletions

View File

@ -220,7 +220,7 @@ QString C7zFileEngine::fileName(FileName file) const
return _filename;
}
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
QDateTime C7zFileEngine::fileTime(FileTime time) const
#else
QDateTime C7zFileEngine::fileTime(QFile::FileTime time) const
@ -228,7 +228,7 @@ QDateTime C7zFileEngine::fileTime(QFile::FileTime time) const
{
switch (time)
{
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
case QAbstractFileEngine::ModificationTime:
#else
case QFile::FileModificationTime:

View File

@ -35,7 +35,7 @@ public:
virtual bool isRelativePath() const;
virtual FileFlags fileFlags(FileFlags type = FileInfoAll) const;
virtual QString fileName(FileName file = DefaultName) const;
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
virtual QDateTime fileTime(FileTime time) const;
#else
virtual QDateTime fileTime(QFile::FileTime time) const;