Commit b6131e1b authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

TextEditor: Fix wrong disconnect signal/slot signature



Change-Id: I583068a0db954fe01edeaf557a22515a6d5c7e94
Reviewed-by: default avatarTobias Hunger <tobias.hunger@theqtcompany.com>
Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
parent be4aba7d
...@@ -55,8 +55,8 @@ void SimpleCodeStylePreferencesWidget::setPreferences(ICodeStylePreferences *pre ...@@ -55,8 +55,8 @@ void SimpleCodeStylePreferencesWidget::setPreferences(ICodeStylePreferences *pre
// cleanup old // cleanup old
if (m_preferences) { if (m_preferences) {
disconnect(m_preferences, SIGNAL(currentSettingsChanged(TextEditor::TabSettings)), disconnect(m_preferences, SIGNAL(currentTabSettingsChanged(TextEditor::TabSettings)),
m_tabSettingsWidget, SLOT(setSettings(TextEditor::TabSettings))); m_tabSettingsWidget, SLOT(setTabSettings(TextEditor::TabSettings)));
disconnect(m_preferences, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)), disconnect(m_preferences, SIGNAL(currentPreferencesChanged(TextEditor::ICodeStylePreferences*)),
this, SLOT(slotCurrentPreferencesChanged(TextEditor::ICodeStylePreferences*))); this, SLOT(slotCurrentPreferencesChanged(TextEditor::ICodeStylePreferences*)));
disconnect(m_tabSettingsWidget, SIGNAL(settingsChanged(TextEditor::TabSettings)), disconnect(m_tabSettingsWidget, SIGNAL(settingsChanged(TextEditor::TabSettings)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment