diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-07-08 11:33:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 11:33:52 +0200 |
commit | d967b0ee7b416be34a6c5774385b9157a00a2156 (patch) | |
tree | a9dd7212ed4c8ae5a75e883a11191c7fc041a193 /src/dialog/dlgdevelopertools.cpp | |
parent | 89bd191bae5d03a0257cdc5407e8d25f77de36d9 (diff) | |
parent | 04017eb9ac296b5dcf1afa02d32929ec79a3e724 (diff) |
Merge pull request #2918 from uklotzde/controlobject
ControlObject/ControlPrivateDouble: Various Fixes
Diffstat (limited to 'src/dialog/dlgdevelopertools.cpp')
-rw-r--r-- | src/dialog/dlgdevelopertools.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialog/dlgdevelopertools.cpp b/src/dialog/dlgdevelopertools.cpp index 4642c649cc..9e5b462e1c 100644 --- a/src/dialog/dlgdevelopertools.cpp +++ b/src/dialog/dlgdevelopertools.cpp @@ -13,9 +13,9 @@ DlgDeveloperTools::DlgDeveloperTools(QWidget* pParent, m_pConfig(pConfig) { setupUi(this); - QList<QSharedPointer<ControlDoublePrivate> > controlsList; - ControlDoublePrivate::getControls(&controlsList); - QHash<ConfigKey, ConfigKey> controlAliases = + const QList<QSharedPointer<ControlDoublePrivate>> controlsList = + ControlDoublePrivate::getAllInstances(); + const QHash<ConfigKey, ConfigKey> controlAliases = ControlDoublePrivate::getControlAliases(); for (auto it = controlsList.constBegin(); @@ -144,8 +144,8 @@ void DlgDeveloperTools::slotControlDump() { return; } - QList<QSharedPointer<ControlDoublePrivate> > controlsList; - ControlDoublePrivate::getControls(&controlsList); + const QList<QSharedPointer<ControlDoublePrivate>> controlsList = + ControlDoublePrivate::getAllInstances(); for (auto it = controlsList.constBegin(); it != controlsList.constEnd(); ++it) { const QSharedPointer<ControlDoublePrivate>& pControl = *it; if (pControl) { |