qt4 sometimes doesnt display the status bar if its not created in init

This commit is contained in:
dockes 2009-10-26 11:16:11 +00:00
parent 48d4f614b1
commit 6ebacda15a

View File

@ -123,6 +123,10 @@ void RclMain::init()
periodictimer = new QTimer(this);
// At least some versions of qt4 don't display the status bar if
// it's not created here.
(void)statusBar();
(void)new HelpClient(this);
HelpClient::installMap(this->name(), "RCL.SEARCH.SIMPLE");