Skip to content

Commit

Permalink
[systemsettings] Remove manufacturer and productName from aboutsettings
Browse files Browse the repository at this point in the history
QtSystems returning invalid data on these. Better can be now asked from
SSU DBus interface with displayName method.
  • Loading branch information
pvuorela committed Oct 25, 2013
1 parent 0157d02 commit 0706f9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/aboutsettings.cpp
Expand Up @@ -75,13 +75,5 @@ QString AboutSettings::imei() const
return m_devinfo->imei(0);
}

QString AboutSettings::manufacturer() const
{
return m_devinfo->manufacturer();
}

QString AboutSettings::productName() const
{
return m_devinfo->productName();
}

4 changes: 0 additions & 4 deletions src/aboutsettings.h
Expand Up @@ -44,8 +44,6 @@ class AboutSettings: public QObject
Q_PROPERTY(QString bluetoothAddress READ bluetoothAddress CONSTANT)
Q_PROPERTY(QString wlanMacAddress READ wlanMacAddress CONSTANT)
Q_PROPERTY(QString imei READ imei CONSTANT)
Q_PROPERTY(QString manufacturer READ manufacturer CONSTANT)
Q_PROPERTY(QString productName READ productName CONSTANT)

public:
explicit AboutSettings(QObject *parent = 0);
Expand All @@ -57,8 +55,6 @@ class AboutSettings: public QObject
QString bluetoothAddress() const;
QString wlanMacAddress() const;
QString imei() const;
QString manufacturer() const;
QString productName() const;

private:
QStorageInfo *m_sysinfo;
Expand Down

0 comments on commit 0706f9e

Please sign in to comment.