forked from qt-creator/qt-creator
DiffEditor: Do not load settings when splitting views
Change-Id: I7fac89714ff9a603af29e19664b091e5e62be22f Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
This commit is contained in:
@@ -177,8 +177,8 @@ void InfoBarDisplay::setInfoBar(InfoBar *infoBar)
|
||||
m_infoBar->disconnect(this);
|
||||
m_infoBar = infoBar;
|
||||
if (m_infoBar) {
|
||||
connect(infoBar, SIGNAL(changed()), SLOT(update()));
|
||||
connect(infoBar, SIGNAL(destroyed()), SLOT(infoBarDestroyed()));
|
||||
connect(m_infoBar, SIGNAL(changed()), SLOT(update()));
|
||||
connect(m_infoBar, SIGNAL(destroyed()), SLOT(infoBarDestroyed()));
|
||||
}
|
||||
update();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user