From f5a7d411051d3112a90e26f1e382dc1e00fb9a00 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 16 Jun 2010 22:45:24 +0200 Subject: Treemodel Development -Changed the database schema. Attached quality to files -Subclassed SmTreeModel for SeriesTreeModel -Made SmTreeModel virtual for that Well, it seems there is a serious problem with the database schema. Curiously everything inside the model works beside the db update. Seems I have it wrong with the fks :( --- shemov.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index 39dd494..46cbbb9 100644 --- a/shemov.pro +++ b/shemov.pro @@ -51,7 +51,8 @@ SOURCES = main.cpp \ smubermodel.cpp \ smubermodelsingleton.cpp \ archivetreeview.cpp \ - seriestreewidget.cpp + seriestreewidget.cpp \ + seriestreemodel.cpp HEADERS = listitem.h \ listmodel.h \ movieitem.h \ @@ -98,6 +99,7 @@ HEADERS = listitem.h \ smubermodel.h \ smubermodelsingleton.h \ archivetreeview.h \ - seriestreewidget.h + seriestreewidget.h \ + seriestreemodel.h LIBS += -lmagic RESOURCES = shemov.qrc -- cgit v1.2.3-70-g09d2