修复 加载应用程序信息时随机崩溃

这个问题就是因为在异步操作时直接修改GUI,导致事件发生时GUI与异步加载线程不同步导致程序崩溃。将所有加载操作已移至
SpkAppInfoLoaderThread,在其需要操作GUI时阻塞该工作线程并发射信号让主线程操作GUI,以解决该问题。
This commit is contained in:
RigoLigoRLC
2020-10-09 02:06:28 +08:00
parent 1b56d3ad52
commit 367c8d857c
6 changed files with 413 additions and 86 deletions

View File

@@ -33,14 +33,16 @@ SOURCES += main.cpp\
downloadlist.cpp \
image_show.cpp \
big_image.cpp \
progressload.cpp
progressload.cpp \
workerthreads.cpp
HEADERS += \
widget.h \
downloadlist.h \
image_show.h \
big_image.h \
progressload.h
progressload.h \
workerthreads.h