From 7a2c2c37d4324935ea55221b57d1c878fff4860e Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 9 Jul 2014 13:32:26 +0200 Subject: 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. --- pictureviewer2.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pictureviewer2.h') 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(); -- cgit v1.2.3-70-g09d2