[MassifVisualizer] [Bug 258358] the box with detailed info disappears

Milian Wolff mail at milianw.de
Thu Dec 23 18:29:27 CET 2010


https://bugs.kde.org/show_bug.cgi?id=258358


Milian Wolff <mail at milianw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Milian Wolff <mail milianw de>  2010-12-23 18:29:26 ---
commit 320210bb7ff824024b0218172da8fc4e6ca00433
branch master
Author: Milian Wolff <mail at milianw.de>
Date:   Thu Dec 23 18:28:37 2010 +0100

    make it possible to re-add the data tree dock widget via the menu

    BUG: 258358

diff --git a/app/mainwindow.cpp b/app/mainwindow.cpp
index f78cdf5..c39de0e 100644
--- a/app/mainwindow.cpp
+++ b/app/mainwindow.cpp
@@ -254,6 +254,9 @@ void MainWindow::setupActions()
     stackNumLayout->addWidget(box);
     stackNumWidget->setLayout(stackNumLayout);
     stackNumAction->setDefaultWidget(stackNumWidget);
+
+    //dock actions
+    actionCollection()->addAction("toggleDataTree",
ui.dataTreeDock->toggleViewAction());
 }

 void MainWindow::openFile()
diff --git a/app/massif-visualizerui.rc b/app/massif-visualizerui.rc
index b6c8c65..abd23dc 100644
--- a/app/massif-visualizerui.rc
+++ b/app/massif-visualizerui.rc
@@ -1,5 +1,5 @@
 <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
-<kpartgui name="massif-visualizer" version="4">
+<kpartgui name="massif-visualizer" version="5">

 <MenuBar>
   <Menu name="file" noMerge="1"><text>&amp;File</text>
@@ -25,6 +25,9 @@

   <Menu name="settings"><text>&amp;Settings</text>
     <Merge name="StandardToolBarMenuHandler" />
+    <Menu name="dockWidgets"><text>&amp;Dock Widgets</text>
+        <Action name="toggleDataTree" />
+    </Menu>
     <DefineGroup name="show_toolbar_merge" />
     <Action name="set_configure_toolbars" />
     <Action name="settings_configure" />

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Massif-visualizer mailing list