summaryrefslogtreecommitdiffstats
path: root/src/gui/embedded
diff options
context:
space:
mode:
authorJoão Abecasis <joao@abecasis.name>2009-05-05 17:39:01 +0200
committerJoão Abecasis <joao@abecasis.name>2009-05-05 17:59:42 +0200
commitc3cc3f8b66486d5bdb555e17dc86e7eb911f8a56 (patch)
tree24d45f2d4d3a869b6c50c9282084d9771f7c3259 /src/gui/embedded
parent5ad7b6b07ec7727c04abbf96faf540a5d3f0c04c (diff)
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')
-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 dffebf2781..fdcd1936a1 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