DiffEditor: Do not load settings when splitting views

Change-Id: I7fac89714ff9a603af29e19664b091e5e62be22f
Reviewed-by: Jarek Kobus <jaroslaw.kobus@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-03-11 15:22:40 +01:00
parent 0f5fdbe0f2
commit ee7d0a7bf7
5 changed files with 95 additions and 80 deletions

View File

@@ -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();
}