mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-30 22:51:16 +01:00
Fixed QT4 build
This commit is contained in:
parent
4670630e22
commit
21de5e22e4
@ -36,7 +36,10 @@ Label *Label::_instance = 0;
|
|||||||
|
|
||||||
Label::Label(const QString &text, QWidget *parent)
|
Label::Label(const QString &text, QWidget *parent)
|
||||||
: QLabel(text, parent, Qt::ToolTip | Qt::BypassGraphicsProxyWidget
|
: QLabel(text, parent, Qt::ToolTip | Qt::BypassGraphicsProxyWidget
|
||||||
| Qt::WindowDoesNotAcceptFocus)
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||||
|
| Qt::WindowDoesNotAcceptFocus
|
||||||
|
#endif // QT5
|
||||||
|
)
|
||||||
{
|
{
|
||||||
delete _instance;
|
delete _instance;
|
||||||
_instance = this;
|
_instance = this;
|
||||||
|
Loading…
Reference in New Issue
Block a user