diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2010-08-06 07:53:28 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2010-08-06 07:55:05 +0200 |
commit | a1f0a650578b71fddae9db05435715338b15ba35 (patch) | |
tree | ea3486b6c29d364c62c71703c5ea52c60678cded /src/gui/kernel/qplatformwindowformat_qpa.h | |
parent | 1be2e830da7aa09f92d8cdca906f8a588cd10381 (diff) |
Make the GLX integration give more correct format
Also create a correct window for the format.
Diffstat (limited to 'src/gui/kernel/qplatformwindowformat_qpa.h')
-rw-r--r-- | src/gui/kernel/qplatformwindowformat_qpa.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gui/kernel/qplatformwindowformat_qpa.h b/src/gui/kernel/qplatformwindowformat_qpa.h index 37e628d247..075e79605d 100644 --- a/src/gui/kernel/qplatformwindowformat_qpa.h +++ b/src/gui/kernel/qplatformwindowformat_qpa.h @@ -163,11 +163,18 @@ private: friend Q_GUI_EXPORT bool operator==(const QPlatformWindowFormat&, const QPlatformWindowFormat&); friend Q_GUI_EXPORT bool operator!=(const QPlatformWindowFormat&, const QPlatformWindowFormat&); +#ifndef QT_NO_DEBUG_STREAM + friend Q_GUI_EXPORT QDebug operator<<(QDebug, const QPlatformWindowFormat &); +#endif }; Q_GUI_EXPORT bool operator==(const QPlatformWindowFormat&, const QPlatformWindowFormat&); Q_GUI_EXPORT bool operator!=(const QPlatformWindowFormat&, const QPlatformWindowFormat&); +#ifndef QT_NO_DEBUG_STREAM +Q_OPENGL_EXPORT QDebug operator<<(QDebug, const QPlatformWindowFormat &); +#endif + Q_DECLARE_OPERATORS_FOR_FLAGS(QPlatformWindowFormat::FormatOptions) inline bool QPlatformWindowFormat::doubleBuffer() const |