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:
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…
x
Reference in New Issue
Block a user