summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/openwfd/qopenwfdscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/platforms/openwfd/qopenwfdscreen.cpp')
-rw-r--r--src/plugins/platforms/openwfd/qopenwfdscreen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/platforms/openwfd/qopenwfdscreen.cpp b/src/plugins/platforms/openwfd/qopenwfdscreen.cpp
index 785bee9c55..0d3361899b 100644
--- a/src/plugins/platforms/openwfd/qopenwfdscreen.cpp
+++ b/src/plugins/platforms/openwfd/qopenwfdscreen.cpp
@@ -112,9 +112,9 @@ QImage::Format QOpenWFDScreen::format() const
return QImage::Format_RGB32;
}
-QSize QOpenWFDScreen::physicalSize() const
+QSizeF QOpenWFDScreen::physicalSize() const
{
- return mPort->physicalSize().toSize();
+ return mPort->physicalSize();
}
QOpenWFDPort * QOpenWFDScreen::port() const