diff options
author | Arno <am@disconnect.de> | 2012-03-08 07:09:09 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2012-03-08 07:09:09 +0100 |
commit | ea30d012b7777a2aea1c5e957a7d7566eebef391 (patch) | |
tree | 88a1ebdcca7a3184781d4ed4ac29b3892df04d6c /shemov.cpp | |
parent | 57f69839e3bab9ab73f15811374099576216282b (diff) | |
download | SheMov-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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |