Skip to content

Commit 94dfa53

Browse files
zty199deepin-bot[bot]
authored andcommitted
fix: typo in DGioSettingsPrivate
rename DGioSettingsPrivate::inlcudeKey to DGioSettingsPrivate::includeKey Log: rename DGioSettingsPrivate::inlcudeKey to DGioSettingsPrivate::includeKey
1 parent 5b0af38 commit 94dfa53

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

gio-qt/source/dgiosettings.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ class DGioSettingsPrivate
179179
return false;
180180
}
181181

182-
bool inlcudeKey(const gchar* gkey) const {
182+
bool includeKey(const gchar* gkey) const {
183183
gchar **allKeys = g_settings_list_keys(settings);
184184
bool ret = strvHasString (allKeys, gkey);
185185
g_strfreev (allKeys);
@@ -190,7 +190,7 @@ class DGioSettingsPrivate
190190
QVariant value(GSettings* gsettings, const QString& key) const {
191191
gchar* gkey = DGioPrivate::converToGChar(key.toUtf8());
192192

193-
if(!inlcudeKey(gkey)) {
193+
if(!includeKey(gkey)) {
194194
g_free(gkey);
195195
return QVariant();
196196
}
@@ -207,7 +207,7 @@ class DGioSettingsPrivate
207207
{
208208
gchar* gkey = DGioPrivate::converToGChar(key.toUtf8());
209209

210-
if(!inlcudeKey(gkey)) {
210+
if(!includeKey(gkey)) {
211211
g_free(gkey);
212212
return false;
213213
}

0 commit comments

Comments
 (0)