added TODO
[emufront] / src / db / dbmediaimagecontainer.cpp
index 738fd19..dd08d4a 100644 (file)
@@ -73,6 +73,7 @@ int DbMediaImageContainer::storeMediaImageContainer(EmuFrontObject *efo)
         // File id is used to store the media image container instance to database,
         // file id is also the media image container id
 
+        // TODO: if this fails, the remove the media images in ids
         fileId = insertDataObjectToModel(mic);
 
         //qDebug() << "Inserted media image container to file table with id " << fileId << ".";
@@ -204,6 +205,8 @@ int DbMediaImageContainer::getMediaImageContainer(QString checksum) const
 /**
 * Stores media image containers, including the media images included
 * to database.
+*
+* Throws EmuFrontException
 */
 void DbMediaImageContainer::storeContainers(QList<MediaImageContainer *> lst, FilePathObject *fpo)
 {