From 184448e767ccdeae66fe4d795757cace98033b0e Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 4 Oct 2012 06:59:44 +0200 Subject: Fix Mappings in PictureViewer2 Another fix for the new MappingTreeModel database layout: Make the mappings display correctly when showing an archived picture. For performance reasons I had to make PicFilesModel global and put it into a separate file. Also clean up MappingTreeModel: remove comments and unused functions. --- shemov.pro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'shemov.pro') diff --git a/shemov.pro b/shemov.pro index 846e533..adf6f6c 100644 --- a/shemov.pro +++ b/shemov.pro @@ -39,7 +39,8 @@ SOURCES = main.cpp \ mappingtreewidget.cpp \ newpicsdialog.cpp \ pictureswidget.cpp \ - pictureviewer2.cpp + pictureviewer2.cpp \ + picfilesmodel.cpp HEADERS = \ filesystemdirproxy.h \ filesystemwidget.h \ @@ -74,6 +75,7 @@ HEADERS = \ mappingtreewidget.h \ newpicsdialog.h \ pictureswidget.h \ - pictureviewer2.h + pictureviewer2.h \ + picfilesmodel.h LIBS += -lmagic -lXfixes -lX11 RESOURCES = shemov.qrc -- cgit v1.2.3-70-g09d2