[Uml-devel] [Bug 93535] 'menu/settings/show statusbar' behaves erroneusly
Jonathan Riddell
jr at jriddell.org
Mon Nov 22 07:52:02 UTC 2004
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=93535
jr jriddell org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
------- Additional Comments From jr jriddell org 2004-11-22 16:51 -------
CVS commit by jriddell:
Fix hide/show statusbar
beastie 93535: 'menu/settings/show statusbar' behaves erroneusly
BUG:93535
M +5 -5 uml.cpp 1.120
--- kdesdk/umbrello/umbrello/uml.cpp #1.119:1.120
@ -84,9 +84,8 @ UMLApp::UMLApp(QWidget* , const char* na
// call inits to invoke all other construction parts
readOptionState();
- initActions();
initDocument();
+ initActions(); //now calls initStatusBar() because it is effected by setupGUI();
initView();
initClip();
- initStatusBar();
readOptions();
///////////////////////////////////////////////////////////////////
@ -269,6 +268,8 @ void UMLApp::initActions() {
KStdAction::tipOfDay( this, SLOT( tipOfTheDay() ), actionCollection() );
- // use the absolute path to your umbrelloui.rc file for testing purpose in createGUI();
- createGUI();
+ initStatusBar(); //call this here because status bar is shown/hidden by setupGUI()
+
+ // use the absolute path to your umbrelloui.rc file for testing purpose in setupGUI();
+ setupGUI();
QPopupMenu* menu = findMenu( menuBar(), QString("settings") );
@ -358,5 +359,4 @ void UMLApp::initStatusBar() {
connect(m_doc, SIGNAL( sigWriteToStatusBar(const QString &) ), this, SLOT( slotStatusMsg(const QString &) ));
- statusBar()->show(); //needs to be forced to show when on first ever startup for some reason
}
////////////////////////////////////////////////////////////////////////////////////////////////////
More information about the umbrello-devel
mailing list