forked from qt-creator/qt-creator
Fix crash when changing font settings
The snippets page should not operate on the font settings changed signal when the ui does not exist. Task-number: QTCREATORBUG-5173 Change-Id: Ic1363cb41340b5ea04803eb27de3dd0af6ecda0c Reviewed-on: http://codereview.qt.nokia.com/511 Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Leandro T. C. Melo
parent
edf0424bb8
commit
3e2f9f595b
@@ -413,6 +413,8 @@ void SnippetsSettingsPagePrivate::finish()
|
||||
SnippetsCollection::instance()->reload();
|
||||
m_snippetsCollectionChanged = false;
|
||||
}
|
||||
|
||||
disconnect(TextEditorSettings::instance(), 0, this, 0);
|
||||
}
|
||||
|
||||
void SnippetsSettingsPagePrivate::loadSettings()
|
||||
|
||||
Reference in New Issue
Block a user