mirror of
https://github.com/jaredtao/TaoQuick.git
synced 2025-01-19 20:22:56 +08:00
fix compile error
This commit is contained in:
parent
1470dc06a3
commit
443a111535
@ -6,6 +6,7 @@
|
|||||||
#include <QQmlEngine>
|
#include <QQmlEngine>
|
||||||
#include <QQuickItem>
|
#include <QQuickItem>
|
||||||
#include <QScreen>
|
#include <QScreen>
|
||||||
|
|
||||||
#if WIN32
|
#if WIN32
|
||||||
|
|
||||||
#include <WinUser.h>
|
#include <WinUser.h>
|
||||||
@ -18,7 +19,6 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
const LONG border_width = 6;
|
|
||||||
|
|
||||||
TaoView::TaoView(QWindow* parent)
|
TaoView::TaoView(QWindow* parent)
|
||||||
: QQuickView(parent)
|
: QQuickView(parent)
|
||||||
@ -62,6 +62,8 @@ void TaoView::setIsMax(bool isMax)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if WIN32
|
#if WIN32
|
||||||
|
const long border_width = 6;
|
||||||
|
|
||||||
bool TaoView::nativeEvent(const QByteArray& eventType, void* message, long* result)
|
bool TaoView::nativeEvent(const QByteArray& eventType, void* message, long* result)
|
||||||
{
|
{
|
||||||
#if (QT_VERSION == QT_VERSION_CHECK(5, 11, 1))
|
#if (QT_VERSION == QT_VERSION_CHECK(5, 11, 1))
|
||||||
|
@ -30,6 +30,6 @@ Item {
|
|||||||
to: __toList[dir]
|
to: __toList[dir]
|
||||||
duration: r.duration
|
duration: r.duration
|
||||||
loops: 1
|
loops: 1
|
||||||
// alwaysRunToEnd: true
|
alwaysRunToEnd: true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user