1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00

changed the settingChanged signature to accommodate queued connections

This commit is contained in:
Marc Zinnschlag 2015-12-11 12:06:20 +01:00
parent 8245b9e439
commit 3a5238bebc
2 changed files with 2 additions and 2 deletions

View File

@ -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()

View File

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