summaryrefslogtreecommitdiffstats
path: root/pictureviewer.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2010-05-28 19:18:46 +0200
committerArno <am@disconnect.de>2010-05-28 19:18:46 +0200
commit9ab30cc1d7d5362a826f89dda5cb14f7716c2908 (patch)
tree837ff4e642fcfde434781e6e05f9105958d2a433 /pictureviewer.h
parent4536e03b7c2f96431aa5aeba61bda0b93896b106 (diff)
downloadSheMov-9ab30cc1d7d5362a826f89dda5cb14f7716c2908.tar.gz
SheMov-9ab30cc1d7d5362a826f89dda5cb14f7716c2908.tar.bz2
SheMov-9ab30cc1d7d5362a826f89dda5cb14f7716c2908.zip
Make directory browsing optional for PictureViewer
Make directory browsing optional in preparation for new ArchiveItemEditDialog. There will be a button to view the selected picture, but it needn't be able to browse the directory of the picture.
Diffstat (limited to 'pictureviewer.h')
-rw-r--r--pictureviewer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/pictureviewer.h b/pictureviewer.h
index 2791bbe..2a8374a 100644
--- a/pictureviewer.h
+++ b/pictureviewer.h
@@ -22,7 +22,7 @@ class PictureViewer : public QGraphicsView {
PictureViewer(QWidget *parent = 0);
public slots:
- void showPic(const QString &path);
+ void showPic(const QString &path, bool enableDirEntries = true);
void next();
void previous();