mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 13:12:50 +00:00
changed the settingChanged signature to accommodate queued connections
This commit is contained in:
parent
8245b9e439
commit
3a5238bebc
@ -368,7 +368,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()
|
||||
|
@ -89,7 +89,7 @@ namespace CSMPrefs
|
||||
|
||||
signals:
|
||||
|
||||
void settingChanged (const Setting& setting);
|
||||
void settingChanged (const Setting *setting);
|
||||
};
|
||||
|
||||
// convenience function
|
||||
|
Loading…
x
Reference in New Issue
Block a user