From ea30d012b7777a2aea1c5e957a7d7566eebef391 Mon Sep 17 00:00:00 2001 From: Arno Date: Thu, 8 Mar 2012 07:09:09 +0100 Subject: Show picture on doubleClick in PicturesWidget Show picture in PictureViewer2 when double clicking an item in pictures widget. Also shuffle some code around. --- shemov.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'shemov.cpp') 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); -- cgit v1.2.3-70-g09d2