summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2013-10-12 07:27:23 +0200
committerArno <am@disconnect.de>2013-10-12 07:27:23 +0200
commit346b844eea4d5b19d51740b9b29d4f00d54fa373 (patch)
tree8d7b8e6df7585198be78139db10bb2a8ae1a07db /filesystemwidget.cpp
parent990218c07e2052f7e75af42a965cfc84b36e8371 (diff)
downloadSheMov-346b844eea4d5b19d51740b9b29d4f00d54fa373.tar.gz
SheMov-346b844eea4d5b19d51740b9b29d4f00d54fa373.tar.bz2
SheMov-346b844eea4d5b19d51740b9b29d4f00d54fa373.zip
Fix show/hide events for PictureViewer2
check and uncheck the show/hide QAction on showEvent/hideEvent.
Diffstat (limited to 'filesystemwidget.cpp')
-rw-r--r--filesystemwidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp
index 4a78889..71dfa68 100644
--- a/filesystemwidget.cpp
+++ b/filesystemwidget.cpp
@@ -211,7 +211,8 @@ void FilesystemWidget::fileViewActivated(const QModelIndex &idx){
mPicViewer->setVisible(true);
}
mPicViewer->setShowMappingItem(false);
- mPicViewer->setFile(path);
+ selectAllPV();
+ mPicViewer->selectPic(path);
return;
}
programArgs << path;