forked from qt-creator/qt-creator
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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user