diff options
author | João Abecasis <joao@abecasis.name> | 2009-05-05 15:39:01 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-05-05 15:59:42 (GMT) |
commit | c3cc3f8b66486d5bdb555e17dc86e7eb911f8a56 (patch) | |
tree | 24d45f2d4d3a869b6c50c9282084d9771f7c3259 | |
parent | 5ad7b6b07ec7727c04abbf96faf540a5d3f0c04c (diff) | |
download | Qt-c3cc3f8b66486d5bdb555e17dc86e7eb911f8a56.zip Qt-c3cc3f8b66486d5bdb555e17dc86e7eb911f8a56.tar.gz Qt-c3cc3f8b66486d5bdb555e17dc86e7eb911f8a56.tar.bz2 |
Fix infinite recursion with QT3_SUPPORT
Forward setDesktopBackground to setBackground as is mentioned in the
docs.
Reviewed-by: Paul
-rw-r--r-- | src/gui/embedded/qwindowsystem_qws.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/embedded/qwindowsystem_qws.cpp b/src/gui/embedded/qwindowsystem_qws.cpp index dffebf2..fdcd193 100644 --- a/src/gui/embedded/qwindowsystem_qws.cpp +++ b/src/gui/embedded/qwindowsystem_qws.cpp @@ -4044,7 +4044,7 @@ void QWSServer::setDesktopBackground(const QImage &img) */ void QWSServer::setDesktopBackground(const QColor &c) { - setDesktopBackground(QBrush(c)); + setBackground(QBrush(c)); } #endif //QT3_SUPPORT |