mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2024-12-25 23:51:33 +08:00
Remove deprecation warning while building with Qt 5.15. (#344)
Co-authored-by: Rodrigo Oliva <Rodrigo.Oliva@king.com>
This commit is contained in:
parent
bbdf0ef29d
commit
0c44accb44
@ -806,7 +806,7 @@ void CDockOverlayCross::setIconColors(const QString& Colors)
|
|||||||
{"Arrow", CDockOverlayCross::ArrowColor},
|
{"Arrow", CDockOverlayCross::ArrowColor},
|
||||||
{"Shadow", CDockOverlayCross::ShadowColor}};
|
{"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;
|
auto SkipEmptyParts = QString::SkipEmptyParts;
|
||||||
#else
|
#else
|
||||||
auto SkipEmptyParts = Qt::SkipEmptyParts;
|
auto SkipEmptyParts = Qt::SkipEmptyParts;
|
||||||
|
Loading…
Reference in New Issue
Block a user