mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
feat: 标题栏菜单添加清除缓存按钮
特殊情况下会出现打开页面与预期不符的情况,需要清除缓存文件夹 Log: 标题栏菜单添加清除缓存按钮;整理代码;重新启用自定义关于窗口
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <QWebEngineProfile>
|
||||
#include <QWebEngineView>
|
||||
#include <QLayout>
|
||||
#include <QStackedLayout>
|
||||
|
||||
#include <DSpinner>
|
||||
|
||||
@@ -27,12 +28,10 @@ public:
|
||||
|
||||
private:
|
||||
WebEngineView *m_webEngineView;
|
||||
QString m_szUrl;
|
||||
DSpinner *m_spinner;
|
||||
QStackedLayout *mainLayout;
|
||||
|
||||
QHBoxLayout *main;
|
||||
|
||||
void clearLayout(QLayout *layout);
|
||||
QString m_szUrl;
|
||||
|
||||
private slots:
|
||||
void on_loadStarted();
|
||||
|
||||
Reference in New Issue
Block a user