update// added new writer method to filesystem to convert old format to new
This commit is contained in:
@@ -43,10 +43,7 @@ QString ContactDataStore::dump()
|
||||
j.push_back(c.second.toJson());
|
||||
}
|
||||
contacts["contacts"] = j;
|
||||
|
||||
std::string dump = contacts.dump(4);
|
||||
qDebug() << dump.c_str();
|
||||
return "";
|
||||
return QString::fromStdString(contacts.dump(4));
|
||||
}
|
||||
|
||||
ContactDataStore* ContactDataStore::instance = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user