From 6688b2f70e31f2859c7439665f0916ac6fbb9bf1 Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Tue, 9 Jun 2015 14:19:20 +0200 Subject: [PATCH] Sketcher: Requested Feature: Remove help button =============================================== The help button next to the close button in the Task dialog is now removed. It was requested that this button is removed as it is inconsistent with other help sources and it is not implemented. --- src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp | 5 ----- src/Mod/Sketcher/Gui/TaskDlgEditSketch.h | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp b/src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp index d7d9850e9d..e65fa858f6 100644 --- a/src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp +++ b/src/Mod/Sketcher/Gui/TaskDlgEditSketch.cpp @@ -103,10 +103,5 @@ bool TaskDlgEditSketch::reject() return true; } -void TaskDlgEditSketch::helpRequested() -{ - -} - #include "moc_TaskDlgEditSketch.cpp" diff --git a/src/Mod/Sketcher/Gui/TaskDlgEditSketch.h b/src/Mod/Sketcher/Gui/TaskDlgEditSketch.h index 445b849948..27a038350f 100644 --- a/src/Mod/Sketcher/Gui/TaskDlgEditSketch.h +++ b/src/Mod/Sketcher/Gui/TaskDlgEditSketch.h @@ -58,14 +58,12 @@ public: virtual bool accept(); /// is called by the framework if the dialog is rejected (Cancel) virtual bool reject(); - /// is called by the framework if the user presses the help button - virtual void helpRequested(); virtual bool isAllowedAlterDocument(void) const { return false; } /// returns for Close and Help button virtual QDialogButtonBox::StandardButtons getStandardButtons(void) const - { return QDialogButtonBox::Close|QDialogButtonBox::Help; } + { return QDialogButtonBox::Close; } protected: void slotUndoDocument(const App::Document&);