mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
修复多个窗口共用同一个配置文件导致锁定的问题(https://gitee.com/spark-store-project/spark-web-app-runtime/issues/IA759Q)
This commit is contained in:
@@ -17,7 +17,7 @@ class Widget : public QWidget
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
explicit Widget(QString szUrl = nullptr, QWidget *parent = nullptr);
|
||||
explicit Widget(QString szUrl = nullptr, QWidget *parent = nullptr, QString szTitle = nullptr);
|
||||
~Widget();
|
||||
|
||||
QWebEnginePage *getPage();
|
||||
@@ -46,6 +46,7 @@ private:
|
||||
QStackedLayout *mainLayout = nullptr;
|
||||
|
||||
QString m_szUrl;
|
||||
QString m_szTitle;
|
||||
};
|
||||
|
||||
#endif // WIDGET_H
|
||||
|
||||
Reference in New Issue
Block a user