Use QT_VERSION_CHECK macro for better compatibility.

This commit is contained in:
mfreiholz
2016-04-11 07:27:02 +02:00
parent 14a80f1753
commit fffc84374a
5 changed files with 12 additions and 12 deletions

View File

@@ -286,7 +286,7 @@ void hideDropOverlay()
{
MyOverlay->hide();
delete MyOverlay;
#if QT_VERSION >= 0x050000
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
MyOverlayParent.clear();
#else
MyOverlayParent = 0;