diff options
author | Liang Qi <liang.qi@qt.io> | 2018-11-05 19:06:47 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-11-05 19:06:47 +0100 |
commit | eedb3a06cbaff1a3e100a0d68a578d15a0c9dd97 (patch) | |
tree | cc9c2677b63d99f87dfd60d7eb0aba138c026d06 /src/plugins/platforms/xcb/qxcbscreen.cpp | |
parent | 73e7eb785fbf984e2b964be8c3acad788479dfa6 (diff) | |
parent | d24835a60c0c620a27c7a9830b89ed47312739a5 (diff) |
Merge remote-tracking branch 'origin/5.12.0' into 5.12
Change-Id: I12f26470e01a8582d0f02f51e20d5b742bd95d6f
Diffstat (limited to 'src/plugins/platforms/xcb/qxcbscreen.cpp')
-rw-r--r-- | src/plugins/platforms/xcb/qxcbscreen.cpp | 7 |
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() |