forked from qt-creator/qt-creator
Core: Use some data members in NavigationWidgetFactory
Adjust user code, remove unused bits. Change-Id: I351deb27679c9251518a4d1bf7f78a12bacae2fb Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
@@ -224,10 +224,6 @@ void Manager::initialize()
|
||||
{
|
||||
// use Qt::QueuedConnection everywhere
|
||||
|
||||
// widget factory signals
|
||||
connect(NavigationWidgetFactory::instance(), SIGNAL(widgetIsCreated()),
|
||||
SLOT(onWidgetIsCreated()), Qt::QueuedConnection);
|
||||
|
||||
// internal manager state is changed
|
||||
connect(this, SIGNAL(stateChanged(bool)), SLOT(onStateChanged(bool)), Qt::QueuedConnection);
|
||||
|
||||
@@ -318,17 +314,6 @@ void Manager::setState(bool state)
|
||||
emit stateChanged(d->state);
|
||||
}
|
||||
|
||||
/*!
|
||||
Reacts to the widget factory creating a widget.
|
||||
|
||||
\sa setState, state
|
||||
*/
|
||||
|
||||
void Manager::onWidgetIsCreated()
|
||||
{
|
||||
// do nothing - continue to sleep
|
||||
}
|
||||
|
||||
/*!
|
||||
Reacts to the \a visibility of one navigation pane widget being changed
|
||||
(there might be a lot of them).
|
||||
|
||||
Reference in New Issue
Block a user