This commit is contained in:
朱子楚\zhuzi 2024-02-27 15:38:45 +08:00
parent 62aead3855
commit 90809f5042
3 changed files with 3 additions and 3 deletions

View File

@ -180,7 +180,7 @@ bool FramelessEventFilter::nativeEventFilter(const QByteArray &eventType, void *
*result = DefWindowProcW(hwnd, WM_NCACTIVATE, wParam, -1); *result = DefWindowProcW(hwnd, WM_NCACTIVATE, wParam, -1);
return true; return true;
}else if(uMsg == WM_GETMINMAXINFO){ }else if(uMsg == WM_GETMINMAXINFO){
#if QT_VERSION < QT_VERSION_CHECK(6,0,0) #if QT_VERSION < QT_VERSION_CHECK(6,2,4)
MINMAXINFO* minmaxInfo = reinterpret_cast<MINMAXINFO *>(lParam); MINMAXINFO* minmaxInfo = reinterpret_cast<MINMAXINFO *>(lParam);
auto pixelRatio = _helper->window->devicePixelRatio(); auto pixelRatio = _helper->window->devicePixelRatio();
auto geometry = _helper->window->screen()->availableGeometry(); auto geometry = _helper->window->screen()->availableGeometry();

View File

@ -66,7 +66,7 @@ Rectangle{
return true return true
return count!==0 return count!==0
} }
Text{ FluText{
anchors.centerIn: parent anchors.centerIn: parent
color: Qt.rgba(1,1,1,1) color: Qt.rgba(1,1,1,1)
visible: !isDot visible: !isDot

View File

@ -66,7 +66,7 @@ Rectangle{
return true return true
return count!==0 return count!==0
} }
Text{ FluText{
anchors.centerIn: parent anchors.centerIn: parent
color: Qt.rgba(1,1,1,1) color: Qt.rgba(1,1,1,1)
visible: !isDot visible: !isDot