mirror of
https://github.com/linuxdeepin/gio-qt.git
synced 2024-12-25 14:36:05 +01:00
fix: typo in DGioSettingsPrivate
rename DGioSettingsPrivate::inlcudeKey to DGioSettingsPrivate::includeKey Log: rename DGioSettingsPrivate::inlcudeKey to DGioSettingsPrivate::includeKey
This commit is contained in:
parent
5b0af3856b
commit
94dfa5322b
1 changed files with 3 additions and 3 deletions
|
@ -179,7 +179,7 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
bool inlcudeKey(const gchar* gkey) const {
|
||||
bool includeKey(const gchar* gkey) const {
|
||||
gchar **allKeys = g_settings_list_keys(settings);
|
||||
bool ret = strvHasString (allKeys, gkey);
|
||||
g_strfreev (allKeys);
|
||||
|
@ -190,7 +190,7 @@ public:
|
|||
QVariant value(GSettings* gsettings, const QString& key) const {
|
||||
gchar* gkey = DGioPrivate::converToGChar(key.toUtf8());
|
||||
|
||||
if(!inlcudeKey(gkey)) {
|
||||
if(!includeKey(gkey)) {
|
||||
g_free(gkey);
|
||||
return QVariant();
|
||||
}
|
||||
|
@ -207,7 +207,7 @@ public:
|
|||
{
|
||||
gchar* gkey = DGioPrivate::converToGChar(key.toUtf8());
|
||||
|
||||
if(!inlcudeKey(gkey)) {
|
||||
if(!includeKey(gkey)) {
|
||||
g_free(gkey);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue