summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2012-03-08 07:09:09 +0100
committerArno <am@disconnect.de>2012-03-08 07:09:09 +0100
commitea30d012b7777a2aea1c5e957a7d7566eebef391 (patch)
tree88a1ebdcca7a3184781d4ed4ac29b3892df04d6c /shemov.cpp
parent57f69839e3bab9ab73f15811374099576216282b (diff)
downloadSheMov-ea30d012b7777a2aea1c5e957a7d7566eebef391.tar.gz
SheMov-ea30d012b7777a2aea1c5e957a7d7566eebef391.tar.bz2
SheMov-ea30d012b7777a2aea1c5e957a7d7566eebef391.zip
Show picture on doubleClick in PicturesWidget
Show picture in PictureViewer2 when double clicking an item in pictures widget. Also shuffle some code around.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 0635db3..abba97f 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -616,6 +616,7 @@ void SheMov::createActions(){
mTogglePicV2A->setCheckable(true);
connect(mTogglePicV2A, SIGNAL(toggled(bool)), mPicWidget, SLOT(showPicViewer(bool)));
mTogglePicV2A->setChecked(false);
+ mPicWidget->setPicViewerAction(mTogglePicV2A);
//don't add actions with checkable(true) unless you know what you're doing!
mPicActionGroup = new QActionGroup(this);
mPicActionGroup->addAction(mDeletePicFromA);