Commit ef3c00a3 authored by klugovtsova's avatar klugovtsova

[nemo-systemsettings] Change QVariant to QDBusVariant. Fixes JB#49478

Signed-off-by: klugovtsova's avatarKsu <k.lugovcova@omprussia.ru>
parent 4dc39f24
...@@ -209,7 +209,7 @@ LocationSettingsPrivate::LocationSettingsPrivate(LocationSettings::Mode mode, Lo ...@@ -209,7 +209,7 @@ LocationSettingsPrivate::LocationSettingsPrivate(LocationSettings::Mode mode, Lo
"/net/connman/technology/gps", "/net/connman/technology/gps",
"net.connman.Technology", "net.connman.Technology",
"PropertyChanged", "PropertyChanged",
this, SLOT(gpsTechPropertyChanged(QString,QVariant))); this, SLOT(gpsTechPropertyChanged(QString, QDBusVariant)));
} else { } else {
m_connMan = NetworkManagerFactory::createInstance(); m_connMan = NetworkManagerFactory::createInstance();
connect(m_connMan, &NetworkManager::technologiesChanged, connect(m_connMan, &NetworkManager::technologiesChanged,
...@@ -359,7 +359,7 @@ void LocationSettingsPrivate::updateOnlineAgpsState(const QString &name, Locatio ...@@ -359,7 +359,7 @@ void LocationSettingsPrivate::updateOnlineAgpsState(const QString &name, Locatio
writeSettings(); writeSettings();
} }
void LocationSettingsPrivate::gpsTechPropertyChanged(const QString &propertyName, const QVariant &) void LocationSettingsPrivate::gpsTechPropertyChanged(const QString &propertyName, const QDBusVariant &)
{ {
if (propertyName == PoweredPropertyName) { if (propertyName == PoweredPropertyName) {
emit q->gpsFlightModeChanged(); emit q->gpsFlightModeChanged();
......
...@@ -82,7 +82,7 @@ public: ...@@ -82,7 +82,7 @@ public:
private slots: private slots:
void readSettings(); void readSettings();
void findGpsTech(); void findGpsTech();
void gpsTechPropertyChanged(const QString &propertyName, const QVariant &value); void gpsTechPropertyChanged(const QString &propertyName, const QDBusVariant &value);
}; };
// TODO: replace this with DBus calls to a central settings service... // TODO: replace this with DBus calls to a central settings service...
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment