Commit c4275f6d authored by Jan Möbius's avatar Jan Möbius

Early initialization of info plugins statusBar to avoid segfaults

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@8909 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 61d76272
......@@ -69,14 +69,16 @@
//== IMPLEMENTATION ==========================================================
void InfoPlugin::initializePlugin() {
infoBar_ = new InfoBar();
}
/// initialize the plugin
void InfoPlugin::pluginsInitialized() {
//set the slot descriptions
setDescriptions();
infoBar_ = new InfoBar();
emit addWidgetToStatusbar(infoBar_);
infoBar_->hideCounts();
......
......@@ -94,6 +94,7 @@ class InfoPlugin : public QObject, BaseInterface, MouseInterface, LoggingInterfa
private slots :
// BaseInterface
void initializePlugin();
void pluginsInitialized();
void slotObjectUpdated( int _identifier );
void slotObjectSelectionChanged( int _identifier );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment