diff options
author | Arno <am@disconnect.de> | 2012-09-22 08:10:44 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-09-22 08:10:44 +0200 |
commit | b71d36c02bcb5c93bfaf97ccab4b1e99a44b782b (patch) | |
tree | 1015f397f805069d3eda6b8ea3832ab7c1bf3824 /pictureswidget.h | |
parent | f2b80db9c4dd18e59f8b606e113d9f15cd891c5d (diff) | |
download | SheMov-b71d36c02bcb5c93bfaf97ccab4b1e99a44b782b.tar.gz SheMov-b71d36c02bcb5c93bfaf97ccab4b1e99a44b782b.tar.bz2 SheMov-b71d36c02bcb5c93bfaf97ccab4b1e99a44b782b.zip |
MappingTreeModel Fix: Select pictures from pics_mappings2
Select pictures referencing pics_mappings2 instead of broken
pics_mappings. This just fixes the selection, nothing else!
Diffstat (limited to 'pictureswidget.h')
-rw-r--r-- | pictureswidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<int> mappingIds(const QList<QVariant> &fileIds); //some data |