gprs: Always store RoamingAllowed as a boolean.

In one instance it was stored as boolean and another as int.
Since its always parsed as a boolean and it is a boolean,
always store it as boolean.
This commit is contained in:
Richard Röjfors 2019-04-16 08:09:26 +02:00 committed by Denis Kenzior
parent fe9d22374e
commit 05aaab72ae
1 changed files with 1 additions and 1 deletions

View File

@ -1793,7 +1793,7 @@ static DBusMessage *gprs_set_property(DBusConnection *conn,
gprs->roaming_allowed = value;
if (gprs->settings) {
g_key_file_set_integer(gprs->settings, SETTINGS_GROUP,
g_key_file_set_boolean(gprs->settings, SETTINGS_GROUP,
"RoamingAllowed",
gprs->roaming_allowed);
storage_sync(gprs->imsi, SETTINGS_STORE,