From 9ab30cc1d7d5362a826f89dda5cb14f7716c2908 Mon Sep 17 00:00:00 2001 From: Arno Date: Fri, 28 May 2010 19:18:46 +0200 Subject: 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. --- pictureviewer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pictureviewer.h') 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(); -- cgit v1.2.3-70-g09d2