summaryrefslogtreecommitdiffstats
path: root/src/other/deviceitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/other/deviceitem.cpp')
-rw-r--r--src/other/deviceitem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/other/deviceitem.cpp b/src/other/deviceitem.cpp
index e02bdd0..d0fb981 100644
--- a/src/other/deviceitem.cpp
+++ b/src/other/deviceitem.cpp
@@ -105,6 +105,11 @@ QList<Orientation> DeviceItem::supportedScreenOrientations() const
return mDeviceData.menus.keys();
}
+QRect DeviceItem::availableGeometry() const
+{
+ return mAvailableGeometry;
+}
+
QRectF DeviceItem::boundingRect() const
{
return QRectF(QPointF(-mSize.width()/2, -mSize.height()/2), mSize);