diff options
author | Arno <am@disconnect.de> | 2014-07-09 13:32:26 +0200 |
---|---|---|
committer | Arno <am@disconnect.de> | 2014-07-09 13:32:26 +0200 |
commit | 7a2c2c37d4324935ea55221b57d1c878fff4860e (patch) | |
tree | 9f1a15a156d2862e2b99c8f22917ef593aab8ca0 /pictureviewer2.h | |
parent | 6fb379069d1ec4fab504b56c9f0e80baee1d8d7d (diff) | |
download | SheMov-7a2c2c37d4324935ea55221b57d1c878fff4860e.tar.gz SheMov-7a2c2c37d4324935ea55221b57d1c878fff4860e.tar.bz2 SheMov-7a2c2c37d4324935ea55221b57d1c878fff4860e.zip |
Bring back the nice MappingItem!
Resurrect the indented MappingItem. There's some recursion involved, but
actually it ain't so hard if you have a template :)
This adventure uncovered a bug in NewPicsDialog: Right now we also
record the nodes (not just the leaves) for the Mappings. This bug was
introduced by commit dc7cc269a4fffe43bdac2ae2dc6548fbd1e3bb5e and will
be fixed in one of the next commits.
Diffstat (limited to 'pictureviewer2.h')
-rw-r--r-- | pictureviewer2.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pictureviewer2.h b/pictureviewer2.h index 6a1c92a..99405e0 100644 --- a/pictureviewer2.h +++ b/pictureviewer2.h @@ -77,6 +77,7 @@ class PictureViewer2 : public QGraphicsView { void showFile(const PicData &data); void constructInfoItem(const PicData &file, QSize picSize); void constructMappingItem(const PicData &file); + void docFromTree(SmTreeItem *start, QTextCursor *cur, int indent); private: void setupDialog(); |