Skip to content

Commit 19d9f1c

Browse files
committedMar 3, 2019
Spelling
1 parent a3ff4e6 commit 19d9f1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/core/qgssettings.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ void QgsSettings::setValue( const QString &key, const QVariant &value, const Qgs
283283
// TODO: add valueChanged signal
284284
// Do not store if it hasn't changed from default value
285285
// Fist check if the values are different and if at least one of them is valid.
286-
// The valid check is required because different invalid QVariant flavours
287-
// like QVariant(QVariant::String) and QVariant(QVariant::Int ))
286+
// The valid check is required because different invalid QVariant types
287+
// like QVariant(QVariant::String) and QVariant(QVariant::Int))
288288
// may be considered different and we don't want to store the value in that case.
289289
QVariant currentValue { QgsSettings::value( prefixedKey( key, section ) ) };
290290
if ( ( currentValue.isValid() || value.isValid() ) && ( currentValue != value ) )

0 commit comments

Comments
 (0)
Please sign in to comment.