Utils: remove unnecessary cloneTo() override that doesn't override

It just passes through to the base class... which will change source-
incompatibly in Qt 6.10.

Change-Id: I8b2f380b273cce0964cefffd9a3c3474ce645100
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
Thiago Macieira
2025-01-22 10:33:36 -08:00
parent c4c18e034b
commit 7027ee0772

View File

@@ -67,7 +67,6 @@ public:
QDateTime fileTime(FileTime time) const final;
void setFileName(const QString &file) final;
int handle() const final;
bool cloneTo(QAbstractFileEngine *target) final;
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
IteratorUniquePtr beginEntryList(
@@ -376,11 +375,6 @@ int FSEngineImpl::handle() const
return 0;
}
bool FSEngineImpl::cloneTo(QAbstractFileEngine *target)
{
return QAbstractFileEngine::cloneTo(target);
}
#if QT_VERSION >= QT_VERSION_CHECK(6, 8, 0)
QAbstractFileEngine::IteratorUniquePtr FSEngineImpl::beginEntryList(