fix: 修复 UOS 上加载 RC 页面始终处于加载中的问题

页面加载始终未触发 loadFinished 信号,判断加载未完成

Log: 添加 loadProgressChanged 信号处理,加载进度到 100% 就显示页面;loadFinished 信号如果报错,在窗口中提示“加载存在错误”
This commit is contained in:
zty199
2022-11-21 14:38:57 +08:00
parent eb2bdaca63
commit 4a81898cd3
7 changed files with 43 additions and 9 deletions

View File

@@ -187,6 +187,11 @@
<source>%1Download canceled!</source>
<translation>%1</translation>
</message>
<message>
<location filename="../mainwindow.cpp" line="482"/>
<source>%1Load error occurred!</source>
<translation>%1</translation>
</message>
</context>
<context>
<name>TitleBarMenu</name>