projects
/
emufront
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31cfc99
)
Comments about return values.
author
Mikko Keinänen
<mikko.keinanen@gmail.com>
Fri, 19 Nov 2010 19:33:12 +0000
(21:33 +0200)
committer
Mikko Keinänen
<mikko.keinanen@gmail.com>
Fri, 19 Nov 2010 19:33:12 +0000
(21:33 +0200)
src/db/dbsetup.cpp
patch
|
blob
|
history
diff --git
a/src/db/dbsetup.cpp
b/src/db/dbsetup.cpp
index
85fcfcc
..
f594d7c
100644
(file)
--- a/
src/db/dbsetup.cpp
+++ b/
src/db/dbsetup.cpp
@@
-79,6
+79,7
@@
QString DbSetup::supportedExtensionsToDb(QStringList list)
return list.isEmpty() ? "" : list.join(FILE_TYPE_EXTENSION_SEPARATOR);
}
+/* Returns id of inserted data item after succesful insert, -1 if insert failed */
int DbSetup::insertDataObjectToModel(const EmuFrontObject *ob)
{
qDebug() << "Inserting setup to database...";