remove FluHttp

This commit is contained in:
朱子楚\zhuzi
2023-11-29 21:35:06 +08:00
parent 6a925bdad3
commit 394d0ab244
23 changed files with 136 additions and 1696 deletions

View File

@ -167,7 +167,7 @@ FluWindow {
id:loader
lazy: true
anchors.fill: parent
source: "https://zhu-zichu.gitee.io/Qt5_156_LieflatPage.qml"
source: "https://zhu-zichu.gitee.io/Qt_163_LieflatPage.qml"
}
}
front: Item{
@ -297,10 +297,6 @@ FluWindow {
}
}
FluHttp{
id:http
}
FpsItem{
id:fps_item
}
@ -330,7 +326,7 @@ FluWindow {
}
}
HttpCallable{
FluNetworkCallable{
id:callable
property bool silent: true
onStart: {
@ -366,8 +362,8 @@ FluWindow {
function checkUpdate(silent){
callable.silent = silent
var request = http.newRequest("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest")
http.get(request,callable);
FluNetwork.get("https://api.github.com/repos/zhuzichu520/FluentUI/releases/latest")
.go(callable)
}
}