Some style cleanup to libglabels.

This commit is contained in:
Jim Evins
2015-08-11 17:18:49 -04:00
parent de8ec9b66a
commit 0ad6caeeca
46 changed files with 1294 additions and 380 deletions
+13
View File
@@ -67,6 +67,19 @@ namespace libglabels
}
void Db::init()
{
instance();
}
Db* Db::instance()
{
static Db* db = new Db();
return db;
}
void Db::registerPaper( Paper *paper )
{
if ( !isPaperIdKnown( paper->id() ) )