path: root/src/plugins/platforms/xcb
diff options
authorLaszlo Agocs <>2015-02-02 15:13:28 +0100
committerLaszlo Agocs <>2015-02-05 19:20:17 +0000
commit48497355395eb542df95f43471f96ce09c9e4b94 (patch)
tree036087a30bf0b679f4f86c7bf5034e83e6d212ea /src/plugins/platforms/xcb
parentb066467be7f8da03cc50c29d1c42eac0eb2770c4 (diff)
Remove todo note about QXcbWindow::format()
It _is_ the actual format after create(). This is true at least since modularizing the GLX and EGL integration. See resolveFormat() in the integration plugins. This is important to clarify since other platform plugins usually return the input (requested) format as-is. We must therefore be careful with misleading notes as the situation is complicated enough already. Change-Id: I8e394680fa8fe3c80941a2a08fa873f831d6403c Reviewed-by: Andy Nichols <>
Diffstat (limited to 'src/plugins/platforms/xcb')
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/platforms/xcb/qxcbwindow.cpp b/src/plugins/platforms/xcb/qxcbwindow.cpp
index 8dd6b6c1a6..c407caae2f 100644
--- a/src/plugins/platforms/xcb/qxcbwindow.cpp
+++ b/src/plugins/platforms/xcb/qxcbwindow.cpp
@@ -1524,7 +1524,6 @@ void QXcbWindow::requestActivateWindow()
QSurfaceFormat QXcbWindow::format() const
- // ### return actual format
return m_format;