summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/xcb/qxcbscreen.cpp
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-11-06 13:00:36 +0000
committerThe Qt Project <gerrit-noreply@qt-project.org>2018-11-06 13:00:36 +0000
commit1f984dee90d6aa7d556a1fbd042b0209efac3150 (patch)
treef2285a0a09e87c083e0ebfe867a6e9c332f36d7a /src/plugins/platforms/xcb/qxcbscreen.cpp
parent1771b8d7c6fd052e6a16b109cc841e69fe180e2d (diff)
parenteedb3a06cbaff1a3e100a0d68a578d15a0c9dd97 (diff)
Merge "Merge remote-tracking branch 'origin/5.12.0' into 5.12" into refs/staging/5.12
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbscreen.cpp')
-rw-r--r--src/plugins/platforms/xcb/qxcbscreen.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/platforms/xcb/qxcbscreen.cpp b/src/plugins/platforms/xcb/qxcbscreen.cpp
index 35e90e4206..57dbdc9bec 100644
--- a/src/plugins/platforms/xcb/qxcbscreen.cpp
+++ b/src/plugins/platforms/xcb/qxcbscreen.cpp
@@ -112,13 +112,6 @@ QXcbVirtualDesktop::QXcbVirtualDesktop(QXcbConnection *connection, xcb_screen_t
xcb_depth_next(&depth_iterator);
}
-
- if (connection->hasXRandr()) {
- xcb_connection_t *conn = connection->xcb_connection();
- auto screen_info = Q_XCB_REPLY(xcb_randr_get_screen_info, conn, screen->root);
- if (screen_info)
- m_rotation = screen_info->rotation;
- }
}
QXcbVirtualDesktop::~QXcbVirtualDesktop()