From 1ec8aa7048416a3267ee3ff654d078739644296c Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 22 May 2010 16:53:14 +0200 Subject: Use singletons for models Created singletons for the ListModel* and MovieModel*. There should only be one of each and they were passed around quite a lot. --- shemov.pro | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index 6be5091..98de832 100644 --- a/shemov.pro +++ b/shemov.pro @@ -39,7 +39,10 @@ SOURCES = main.cpp \ fileinfomodel.cpp \ actorcountmodel.cpp \ graphbarwidget.cpp \ - programconfigurator.cpp + programconfigurator.cpp \ + addmoviewizard.cpp \ + listmodelsingleton.cpp \ + moviemodelsingleton.cpp HEADERS = listitem.h \ listmodel.h \ movieitem.h \ @@ -74,6 +77,9 @@ HEADERS = listitem.h \ fileinfomodel.h \ actorcountmodel.h \ graphbarwidget.h \ - programconfigurator.h + programconfigurator.h \ + addmoviewizard.h \ + listmodelsingleton.h \ + moviemodelsingleton.h LIBS += -lmagic RESOURCES = shemov.qrc -- cgit v1.2.3-70-g09d2