aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/buildgraph/command.cpp')
-rw-r--r--src/lib/corelib/buildgraph/command.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/corelib/buildgraph/command.cpp b/src/lib/corelib/buildgraph/command.cpp
index fa7e4cbee..4019bb38e 100644
--- a/src/lib/corelib/buildgraph/command.cpp
+++ b/src/lib/corelib/buildgraph/command.cpp
@@ -283,14 +283,14 @@ void JavaScriptCommand::load(PersistentPool &pool)
{
AbstractCommand::load(pool);
m_sourceCode = pool.idLoadString();
- pool.stream() >> m_properties;
+ m_properties = pool.loadVariantMap();
}
void JavaScriptCommand::store(PersistentPool &pool) const
{
AbstractCommand::store(pool);
pool.storeString(m_sourceCode);
- pool.stream() << m_properties;
+ pool.store(m_properties);
}
QList<AbstractCommandPtr> loadCommandList(PersistentPool &pool)