FancyMainWindow: Use "Store" type for settings instead of custom QHash

Change-Id: Id0735af2ee9b138c9a53525a236fde2a0310c695
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Eike Ziller
2023-12-08 12:06:34 +01:00
parent 32096547a7
commit 7ec55f89f1
3 changed files with 9 additions and 9 deletions

View File

@@ -672,7 +672,7 @@ void EditorWidget::recreateEditors()
Store windowState = m_document->settings()->windowState.value();
if (!windowState.isEmpty()) {
QHash<Key, QVariant> hashMap;
Store hashMap;
for (const auto &key : windowState.keys()) {
if (key.view() != "State")
hashMap.insert(key, windowState.value(key));