summaryrefslogtreecommitdiffstats
path: root/pictureswidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pictureswidget.cpp')
-rw-r--r--pictureswidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pictureswidget.cpp b/pictureswidget.cpp
index e26dc7f..68400af 100644
--- a/pictureswidget.cpp
+++ b/pictureswidget.cpp
@@ -45,7 +45,7 @@ PicturesWidget::PicturesWidget(QWidget *parent) : QWidget(parent), mWindowTitleB
//misc
mEditDialog = new MappingEditDialog(this);
- mPicViewer = new PictureViewer2(this);
+ mPicViewer = SmGlobals::instance()->pictureViewer();
mPictureView->setPV(mPicViewer);
//put it all togehter