Commit d6a17a2e authored by Claudio Valerio's avatar Claudio Valerio

removed c++11 dependency

parent de84e0f9
......@@ -34,13 +34,17 @@ UBPersistenceWorker::UBPersistenceWorker(QObject *parent) :
void UBPersistenceWorker::saveScene(UBDocumentProxy* proxy, UBGraphicsScene* scene, const int pageIndex)
{
saves.append({WriteScene,proxy,scene,pageIndex});
PersistenceInformation entry = {WriteScene, proxy, scene, pageIndex};
saves.append(entry);
mSemaphore.release();
}
void UBPersistenceWorker::readScene(UBDocumentProxy* proxy, const int pageIndex)
{
saves.append({ReadScene,proxy,0,pageIndex});
PersistenceInformation entry = {ReadScene, proxy, 0, pageIndex};
saves.append(entry);
mSemaphore.release();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment