changed the settingChanged signature to accommodate queued connections

openmw-38
Marc Zinnschlag 9 years ago
parent 8245b9e439
commit 3a5238bebc

@ -368,7 +368,7 @@ CSMPrefs::Category& CSMPrefs::State::operator[] (const std::string& key)
void CSMPrefs::State::update (const Setting& setting) void CSMPrefs::State::update (const Setting& setting)
{ {
emit (settingChanged (setting)); emit (settingChanged (&setting));
} }
CSMPrefs::State& CSMPrefs::State::get() CSMPrefs::State& CSMPrefs::State::get()

@ -89,7 +89,7 @@ namespace CSMPrefs
signals: signals:
void settingChanged (const Setting& setting); void settingChanged (const Setting *setting);
}; };
// convenience function // convenience function

Loading…
Cancel
Save