update// added new writer method to filesystem to convert old format to new
This commit is contained in:
@@ -40,10 +40,7 @@ QString ChatDataStore::dump()
|
||||
j.push_back(c.second.toJson());
|
||||
}
|
||||
chats["chatitems"] = j;
|
||||
|
||||
std::string dump = chats.dump(4);
|
||||
qDebug() << dump.c_str();
|
||||
return "";
|
||||
return QString::fromStdString(chats.dump());
|
||||
}
|
||||
|
||||
std::map<QString, ChatItem> ChatDataStore::getAllRawChatItems()
|
||||
|
||||
Reference in New Issue
Block a user