removed c++11 dependency

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent de84e0f9b8
commit d6a17a2e84
  1. 8
      src/core/UBPersistenceWorker.cpp

@ -34,13 +34,17 @@ UBPersistenceWorker::UBPersistenceWorker(QObject *parent) :
void UBPersistenceWorker::saveScene(UBDocumentProxy* proxy, UBGraphicsScene* scene, const int pageIndex) 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(); mSemaphore.release();
} }
void UBPersistenceWorker::readScene(UBDocumentProxy* proxy, const int pageIndex) 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(); mSemaphore.release();
} }

Loading…
Cancel
Save