forked from qt-creator/qt-creator
Normalized connect()s
Change-Id: Id353ab140a46e06ffc3abf667ab3b234e749e17c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com> Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
This commit is contained in:
committed by
Robert Löhning
parent
9f05e6495d
commit
b41171c847
@@ -192,8 +192,8 @@ void ICodeStylePreferences::setCurrentDelegate(ICodeStylePreferences *delegate)
|
||||
this, SIGNAL(currentTabSettingsChanged(TextEditor::TabSettings)));
|
||||
disconnect(d->m_currentDelegate, SIGNAL(currentValueChanged(QVariant)),
|
||||
this, SIGNAL(currentValueChanged(QVariant)));
|
||||
disconnect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)),
|
||||
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)));
|
||||
disconnect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)),
|
||||
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)));
|
||||
}
|
||||
d->m_currentDelegate = delegate;
|
||||
if (d->m_currentDelegate) {
|
||||
@@ -201,8 +201,8 @@ void ICodeStylePreferences::setCurrentDelegate(ICodeStylePreferences *delegate)
|
||||
this, SIGNAL(currentTabSettingsChanged(TextEditor::TabSettings)));
|
||||
connect(d->m_currentDelegate, SIGNAL(currentValueChanged(QVariant)),
|
||||
this, SIGNAL(currentValueChanged(QVariant)));
|
||||
connect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)),
|
||||
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences *)));
|
||||
connect(d->m_currentDelegate, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)),
|
||||
this, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)));
|
||||
}
|
||||
emit currentDelegateChanged(d->m_currentDelegate);
|
||||
emit currentPreferencesChanged(currentPreferences());
|
||||
|
||||
Reference in New Issue
Block a user