summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded/qwindowsystem_qws.cpp
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-05 15:39:01 (GMT)
committerJoão Abecasis <joao@abecasis.name>2009-05-05 15:59:42 (GMT)
commitc3cc3f8b66486d5bdb555e17dc86e7eb911f8a56 (patch)
tree24d45f2d4d3a869b6c50c9282084d9771f7c3259 /src/gui/embedded/qwindowsystem_qws.cpp
parent5ad7b6b07ec7727c04abbf96faf540a5d3f0c04c (diff)
downloadQt-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
Diffstat (limited to 'src/gui/embedded/qwindowsystem_qws.cpp')
-rw-r--r--src/gui/embedded/qwindowsystem_qws.cpp2
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