This commit is contained in:
zhuzichu
2024-01-02 18:27:59 +08:00
parent 1464e647d9
commit 0e0a385f2d
5 changed files with 20 additions and 12 deletions

View File

@ -240,3 +240,7 @@ bool FluTools::isWindows10OrGreater(){
return var.toBool();
}
}
int FluTools::getTaskBarHeight(QQuickWindow* window){
return window->screen()->geometry().height() - window->screen()->availableGeometry().height();
}