1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed QT4 build

This commit is contained in:
Martin Tůma 2019-10-17 22:14:58 +02:00
parent 4670630e22
commit 21de5e22e4

View File

@ -36,7 +36,10 @@ Label *Label::_instance = 0;
Label::Label(const QString &text, QWidget *parent)
: QLabel(text, parent, Qt::ToolTip | Qt::BypassGraphicsProxyWidget
| Qt::WindowDoesNotAcceptFocus)
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
| Qt::WindowDoesNotAcceptFocus
#endif // QT5
)
{
delete _instance;
_instance = this;