mirror of
https://gitee.com/spark-store-project/spark-web-app-runtime.git
synced 2025-12-15 03:22:05 +08:00
fix: setDescription from cmdline or cfg not working
when aboutDialog is not created yet, ApplicationDescription can't be set Log: merge changes from develop/qt6 branch
This commit is contained in:
@@ -13,16 +13,18 @@ class Application : public DApplication
|
||||
|
||||
public:
|
||||
Application(int &argc, char **argv);
|
||||
void handleAboutAction() override;
|
||||
void triggerAboutAction();
|
||||
|
||||
QStringList launchParams() const;
|
||||
|
||||
void setMainWindow(MainWindow *window);
|
||||
MainWindow *mainWindow();
|
||||
|
||||
protected:
|
||||
void handleAboutAction() override;
|
||||
|
||||
private:
|
||||
void saveLaunchParams(int &argc, char **argv);
|
||||
void initAboutDialog();
|
||||
|
||||
signals:
|
||||
void sigQuit();
|
||||
|
||||
Reference in New Issue
Block a user