forked from qt-creator/qt-creator
Utils: Pass settings key to BaseAspect::saveToMap
Makes the code on the user side somewhat more symmetric and is a bit more flexible, even if that's not used right now. Change-Id: I29a5182463ead0e4a39fcb51ecf4fdd5adf2a203 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -85,7 +85,7 @@ void BaseStringListAspect::fromMap(const QVariantMap &map)
|
||||
|
||||
void BaseStringListAspect::toMap(QVariantMap &data) const
|
||||
{
|
||||
saveToMap(data, m_value, QStringList());
|
||||
saveToMap(data, m_value, QStringList(), settingsKey());
|
||||
}
|
||||
|
||||
QStringList BaseStringListAspect::value() const
|
||||
|
||||
Reference in New Issue
Block a user