1
0
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:
jared 2020-07-18 00:07:18 +08:00
parent 1470dc06a3
commit 443a111535
2 changed files with 4 additions and 2 deletions

View File

@ -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))

View File

@ -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
} }
} }