Skip to content

Commit

Permalink
[nemo-systemsettings] Change QVariant to QDBusVariant. Fixes JB#49478
Browse files Browse the repository at this point in the history
Signed-off-by: Ksu <k.lugovcova@omprussia.ru>
  • Loading branch information
Ksu committed Apr 2, 2020
1 parent 4dc39f2 commit ef3c00a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/locationsettings.cpp
Expand Up @@ -209,7 +209,7 @@ LocationSettingsPrivate::LocationSettingsPrivate(LocationSettings::Mode mode, Lo
"/net/connman/technology/gps",
"net.connman.Technology",
"PropertyChanged",
this, SLOT(gpsTechPropertyChanged(QString,QVariant)));
this, SLOT(gpsTechPropertyChanged(QString, QDBusVariant)));
} else {
m_connMan = NetworkManagerFactory::createInstance();
connect(m_connMan, &NetworkManager::technologiesChanged,
Expand Down Expand Up @@ -359,7 +359,7 @@ void LocationSettingsPrivate::updateOnlineAgpsState(const QString &name, Locatio
writeSettings();
}

void LocationSettingsPrivate::gpsTechPropertyChanged(const QString &propertyName, const QVariant &)
void LocationSettingsPrivate::gpsTechPropertyChanged(const QString &propertyName, const QDBusVariant &)
{
if (propertyName == PoweredPropertyName) {
emit q->gpsFlightModeChanged();
Expand Down
2 changes: 1 addition & 1 deletion src/locationsettings_p.h
Expand Up @@ -82,7 +82,7 @@ class LocationSettingsPrivate : public QObject
private slots:
void readSettings();
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...
Expand Down

0 comments on commit ef3c00a

Please sign in to comment.