forked from qt-creator/qt-creator
Utils: Use numberedKey(Key, int) more wildly
Will ease transition to a key class that doen's have ::number() Change-Id: Ib2f2957c916f41b0731a2033422bfbf7e429bcc8 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
This commit is contained in:
@@ -358,7 +358,7 @@ static void saveQtVersions()
|
||||
if (tmp.isEmpty())
|
||||
continue;
|
||||
tmp.insert(QTVERSION_TYPE_KEY, qtv->type());
|
||||
data.insert(QTVERSION_DATA_KEY + Key::number(count), QVariant::fromValue(tmp));
|
||||
data.insert(numberedKey(QTVERSION_DATA_KEY, count), variantFromStore(tmp));
|
||||
++count;
|
||||
}
|
||||
m_writer->save(data, Core::ICore::dialogParent());
|
||||
|
||||
Reference in New Issue
Block a user