fix
This commit is contained in:
parent
1bee72976a
commit
12e48468df
|
@ -220,7 +220,7 @@ QString C7zFileEngine::fileName(FileName file) const
|
||||||
return _filename;
|
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
|
QDateTime C7zFileEngine::fileTime(FileTime time) const
|
||||||
#else
|
#else
|
||||||
QDateTime C7zFileEngine::fileTime(QFile::FileTime time) const
|
QDateTime C7zFileEngine::fileTime(QFile::FileTime time) const
|
||||||
|
@ -228,7 +228,7 @@ QDateTime C7zFileEngine::fileTime(QFile::FileTime time) const
|
||||||
{
|
{
|
||||||
switch (time)
|
switch (time)
|
||||||
{
|
{
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 8, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
case QAbstractFileEngine::ModificationTime:
|
case QAbstractFileEngine::ModificationTime:
|
||||||
#else
|
#else
|
||||||
case QFile::FileModificationTime:
|
case QFile::FileModificationTime:
|
||||||
|
|
|
@ -35,7 +35,7 @@ public:
|
||||||
virtual bool isRelativePath() const;
|
virtual bool isRelativePath() const;
|
||||||
virtual FileFlags fileFlags(FileFlags type = FileInfoAll) const;
|
virtual FileFlags fileFlags(FileFlags type = FileInfoAll) const;
|
||||||
virtual QString fileName(FileName file = DefaultName) 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;
|
virtual QDateTime fileTime(FileTime time) const;
|
||||||
#else
|
#else
|
||||||
virtual QDateTime fileTime(QFile::FileTime time) const;
|
virtual QDateTime fileTime(QFile::FileTime time) const;
|
||||||
|
|
Loading…
Reference in New Issue