summaryrefslogtreecommitdiffstats
path: root/pictureviewer2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pictureviewer2.cpp')
-rw-r--r--pictureviewer2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pictureviewer2.cpp b/pictureviewer2.cpp
index 54ad9e8..e56f52a 100644
--- a/pictureviewer2.cpp
+++ b/pictureviewer2.cpp
@@ -62,7 +62,7 @@ PictureViewer2::PictureViewer2(QWidget *parent) : QGraphicsView(parent), mCur(nu
setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
setWindowState(Qt::WindowMaximized);
- mSlideDlg = new PictureViewerSlideDlg(this);
+ mSlideDlg = new PictureViewerSlideDlg(parent);
connect(mSlideDlg, &PictureViewerSlideDlg::accepted, this, &PictureViewer2::doSlide);
//initial file list