mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Fixes segfault in QgsSettings::clear, fixes #16233
mGlobalSettings is read-only and can be a nullptr that QSettings instance should never be modified nor assumed to be instanciated
This commit is contained in:
parent
1752d446e7
commit
e045b369cf
@ -182,7 +182,7 @@ void QgsSettings::sync()
|
||||
|
||||
void QgsSettings::remove( const QString &key )
|
||||
{
|
||||
mGlobalSettings->remove( key );
|
||||
mUserSettings->remove( key );
|
||||
}
|
||||
|
||||
QString QgsSettings::prefixedKey( const QString &key, const Section section ) const
|
||||
|
Loading…
x
Reference in New Issue
Block a user