[utilities/krusader] app: Remove no longer used compat helper macro QRESOURCE_ISCOMPRESSED
Toni Asensi Esteve <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit 8d472aec0f8cc650dbe1f6ed7da828f3fcadfbbf by Toni Asensi Esteve, on behalf of Friedrich W. H. Kossebau. Committed on 19/07/2026 at 23:02. Pushed by asensi into branch 'master'. Remove no longer used compat helper macro QRESOURCE_ISCOMPRESSED M +0 -14 app/compat.h https://invent.kde.org/utilities/krusader/-/commit/8d472aec0f8cc650dbe1f6ed7da828f3fcadfbbf diff --git a/app/compat.h b/app/compat.h index 617df803f..da01d07b4 100644 --- a/app/compat.h +++ b/app/compat.h @@ -7,20 +7,6 @@ #ifndef _COMPAT_H_ #define _COMPAT_H_ -/** - * QResource::isCompressed() was made obsoleted in QT 5.15 in - * favor of QResource::Compression QResource::compressionAlgorithm() - * - * https://doc.qt.io/qt-5.15/qresource-obsolete.html#isCompressed - * - * This can be removed when the qt minimum version required will be >= 5.15 - */ -#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) -#define QRESOURCE_ISCOMPRESSED(A) ((A).compressionAlgorithm() != QResource::NoCompression) -#else -#define QRESOURCE_ISCOMPRESSED(A) (A).isCompressed() -#endif - /** * QString::split(QChar sep, QString::SplitBehavior behavior, Qt::CaseSensitivity cs = Qt::CaseSensitive) * was made obsoleted in QT 5.15 in favor of the namespaced Qt::endl