From b71d36c02bcb5c93bfaf97ccab4b1e99a44b782b Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 22 Sep 2012 08:10:44 +0200 Subject: MappingTreeModel Fix: Select pictures from pics_mappings2 Select pictures referencing pics_mappings2 instead of broken pics_mappings. This just fixes the selection, nothing else! --- pictureswidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pictureswidget.h') diff --git a/pictureswidget.h b/pictureswidget.h index 3d11c80..ae64a94 100644 --- a/pictureswidget.h +++ b/pictureswidget.h @@ -70,7 +70,7 @@ class PictureView : public QTreeView { PictureViewer2 *PV() { return mPV; } public slots: - void mappingChanged(int mapping); + void mappingChanged(int pMapId); void deletePics(); void refresh(); void setPVData(int replace = false); @@ -110,7 +110,7 @@ class PicFilesModel : public SmTreeModel { enum { NumFields = 8 }; explicit PicFilesModel(const QStringList &headers, QObject *parent = 0); ~PicFilesModel(); - void setMapping(int mappingId); + void setMapping(int pMapId); QList mappingIds(const QList &fileIds); //some data -- cgit v1.2.3-70-g09d2