From 0c44accb447531f02da5e5d6c0b6840598b81081 Mon Sep 17 00:00:00 2001 From: Rodrigo Oliva Date: Mon, 23 Aug 2021 19:47:15 +0200 Subject: [PATCH] Remove deprecation warning while building with Qt 5.15. (#344) Co-authored-by: Rodrigo Oliva --- src/DockOverlay.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DockOverlay.cpp b/src/DockOverlay.cpp index 5fd92b3..4b65373 100644 --- a/src/DockOverlay.cpp +++ b/src/DockOverlay.cpp @@ -806,7 +806,7 @@ void CDockOverlayCross::setIconColors(const QString& Colors) {"Arrow", CDockOverlayCross::ArrowColor}, {"Shadow", CDockOverlayCross::ShadowColor}}; -#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) +#if (QT_VERSION < QT_VERSION_CHECK(5, 14, 0)) auto SkipEmptyParts = QString::SkipEmptyParts; #else auto SkipEmptyParts = Qt::SkipEmptyParts;