[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [digikam] utilities/imageeditor/editor: fix crash when using full screen mode of image editor or sho
From:       Maik Qualmann <metzpinguin () gmail ! com>
Date:       2016-04-30 22:16:49
Message-ID: E1awdBx-0005qV-N3 () scm ! kde ! org
[Download RAW message or body]

Git commit 9353eec54d83855a5e6e6d9773956532a7224eaa by Maik Qualmann.
Committed on 30/04/2016 at 22:16.
Pushed by mqualmann into branch 'master'.

fix crash when using full screen mode of image editor or showFoto

M  +1    -1    utilities/imageeditor/editor/editorwindow.cpp
M  +0    -2    utilities/imageeditor/editor/editorwindow_p.h

http://commits.kde.org/digikam/9353eec54d83855a5e6e6d9773956532a7224eaa

diff --git a/utilities/imageeditor/editor/editorwindow.cpp \
b/utilities/imageeditor/editor/editorwindow.cpp index 6fda4c2..1143938 100644
--- a/utilities/imageeditor/editor/editorwindow.cpp
+++ b/utilities/imageeditor/editor/editorwindow.cpp
@@ -2727,7 +2727,7 @@ void EditorWindow::customizedFullScreenMode(bool set)
 
     statusBarMenuAction()->setEnabled(!set);
     toolBarMenuAction()->setEnabled(!set);
-    d->showMenuBarAction->setEnabled(!set);
+    showMenuBarAction()->setEnabled(!set);
     m_showBarAction->setEnabled(!set);
 }
 
diff --git a/utilities/imageeditor/editor/editorwindow_p.h \
b/utilities/imageeditor/editor/editorwindow_p.h index faade13..010f7f3 100644
--- a/utilities/imageeditor/editor/editorwindow_p.h
+++ b/utilities/imageeditor/editor/editorwindow_p.h
@@ -102,7 +102,6 @@ public:
         viewSoftProofAction(0),
         viewUnderExpoAction(0),
         viewOverExpoAction(0),
-        showMenuBarAction(0),
         selectToolsActionView(0),
         ICCSettings(0),
         zoomBar(0),
@@ -184,7 +183,6 @@ public:
     QAction*                     viewSoftProofAction;
     QAction*                     viewUnderExpoAction;
     QAction*                     viewOverExpoAction;
-    QAction*                     showMenuBarAction;
 
     ActionCategorizedView*       selectToolsActionView;
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic