summaryrefslogtreecommitdiffstats
path: root/src/client/qwaylandscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/qwaylandscreen.cpp')
-rw-r--r--src/client/qwaylandscreen.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/client/qwaylandscreen.cpp b/src/client/qwaylandscreen.cpp
index 1c9ce23ba..38d97a91d 100644
--- a/src/client/qwaylandscreen.cpp
+++ b/src/client/qwaylandscreen.cpp
@@ -53,20 +53,10 @@ QT_BEGIN_NAMESPACE
namespace QtWaylandClient {
QWaylandScreen::QWaylandScreen(QWaylandDisplay *waylandDisplay, int version, uint32_t id)
- : QPlatformScreen()
- , QtWayland::wl_output(waylandDisplay->wl_registry(), id, qMin(version, 2))
+ : QtWayland::wl_output(waylandDisplay->wl_registry(), id, qMin(version, 2))
, m_outputId(id)
, mWaylandDisplay(waylandDisplay)
- , mScale(1)
- , mDepth(32)
- , mRefreshRate(60000)
- , mTransform(-1)
- , mFormat(QImage::Format_ARGB32_Premultiplied)
, mOutputName(QStringLiteral("Screen%1").arg(id))
- , m_orientation(Qt::PrimaryOrientation)
-#if QT_CONFIG(cursor)
- , mWaylandCursor(nullptr)
-#endif
{
}