diff --git a/apps/launcher/utils/profilescombobox.cpp b/apps/launcher/utils/profilescombobox.cpp index 9bd5928803..5ac51393f7 100644 --- a/apps/launcher/utils/profilescombobox.cpp +++ b/apps/launcher/utils/profilescombobox.cpp @@ -71,7 +71,7 @@ void ProfilesComboBox::slotEditingFinished() return; setItemText(currentIndex(), current); - emit(profileRenamed(previous, current)); + emit profileRenamed(previous, current); } void ProfilesComboBox::slotIndexChangedByUser(int index) @@ -79,7 +79,7 @@ void ProfilesComboBox::slotIndexChangedByUser(int index) if (index == -1) return; - emit (signalProfileChanged(mOldProfile, currentText())); + emit signalProfileChanged(mOldProfile, currentText()); mOldProfile = currentText(); } diff --git a/apps/opencs/model/prefs/state.cpp b/apps/opencs/model/prefs/state.cpp index e5a1ef71a5..bce4130c94 100644 --- a/apps/opencs/model/prefs/state.cpp +++ b/apps/opencs/model/prefs/state.cpp @@ -678,7 +678,7 @@ CSMPrefs::Category& CSMPrefs::State::operator[] (const std::string& key) void CSMPrefs::State::update (const Setting& setting) { - emit (settingChanged (&setting)); + emit settingChanged(&setting); } CSMPrefs::State& CSMPrefs::State::get()