fix: 修复V23环境下AM崩溃问题
修复V23环境下AM崩溃问题 Log: Task: https://pms.uniontech.com/task-view-144473.html Influence: AM正常运行 Change-Id: I07ee273d5105a51deb056821be315371312bdc16
This commit is contained in:
@ -22,18 +22,17 @@
|
||||
#include "docksettings.h"
|
||||
#include "settings.h"
|
||||
|
||||
#include <DConfig>
|
||||
#include <QDebug>
|
||||
#include <QJsonObject>
|
||||
#include <QJsonDocument>
|
||||
#include <DConfig>
|
||||
|
||||
DCORE_USE_NAMESPACE
|
||||
|
||||
static DConfig *dockSettings = Settings::ConfigPtr(configDock);
|
||||
static DConfig *appearanceSettings = Settings::ConfigPtr(configAppearance);
|
||||
|
||||
DockSettings::DockSettings(QObject *parent)
|
||||
: QObject (parent)
|
||||
, dockSettings(Settings::ConfigPtr(configDock))
|
||||
, appearanceSettings(Settings::ConfigPtr(configAppearance))
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
@ -187,6 +187,13 @@ public:
|
||||
};
|
||||
|
||||
class Settings;
|
||||
namespace Dtk {
|
||||
namespace Core {
|
||||
class DConfig;
|
||||
}
|
||||
}
|
||||
|
||||
using namespace Dtk::Core;
|
||||
|
||||
// 任务栏组策略配置类
|
||||
class DockSettings: public QObject
|
||||
@ -246,6 +253,9 @@ private:
|
||||
DockSettings(QObject *paret = nullptr);
|
||||
DockSettings(const DockSettings &);
|
||||
DockSettings& operator= (const DockSettings &);
|
||||
|
||||
DConfig *dockSettings;
|
||||
DConfig *appearanceSettings;
|
||||
};
|
||||
|
||||
#endif // DOCKSETTINGS_H
|
||||
|
Reference in New Issue
Block a user