Commit a5836f1d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Check unused now as we depend against kf5.90

parent cceee6e1
......@@ -85,11 +85,6 @@ find_package(KF5 ${KF5_MIN_VERSION} OPTIONAL_COMPONENTS
add_definitions(-DQT_NO_FOREACH)
message(STATUS ${KF5KIO_VERSION})
if (KF5KIO_VERSION VERSION_GREATER_EQUAL "5.82.0")
add_definitions(-DKIO_REQUEST_MIMETYPE)
endif()
## Dependencies
find_package(JPEG)
set_package_properties(JPEG PROPERTIES URL "http://libjpeg.sourceforge.net/" DESCRIPTION "JPEG image manipulation support" TYPE REQUIRED)
......
......@@ -79,9 +79,7 @@ SortedDirModel::SortedDirModel(QObject *parent)
#endif
setSourceModel(d->mSourceModel);
#ifdef KIO_REQUEST_MIMETYPE
d->mSourceModel->dirLister()->setRequestMimeTypeWhileListing(true);
#endif
d->mDelayedApplyFiltersTimer.setInterval(0);
d->mDelayedApplyFiltersTimer.setSingleShot(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment