mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 19:19:56 +00:00
changed the settingChanged signature to accommodate queued connections
This commit is contained in:
parent
8245b9e439
commit
3a5238bebc
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue