eglfs: Use description property as screen name
Change-Id: I2322ffcb28c646b289ee718b9c3946bc0a44bd3c Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
2d504c6709
commit
f9aaf0e6d5
@ -110,6 +110,11 @@ uint QEglFSEmulatorScreen::id() const
|
||||
return m_id;
|
||||
}
|
||||
|
||||
QString QEglFSEmulatorScreen::name() const
|
||||
{
|
||||
return m_description;
|
||||
}
|
||||
|
||||
void QEglFSEmulatorScreen::initFromJsonObject(const QJsonObject &description)
|
||||
{
|
||||
QJsonValue value;
|
||||
|
@ -62,6 +62,7 @@ public:
|
||||
qreal refreshRate() const override;
|
||||
Qt::ScreenOrientation nativeOrientation() const override;
|
||||
Qt::ScreenOrientation orientation() const override;
|
||||
QString name() const override;
|
||||
|
||||
uint id() const;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user