diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-05-07 00:12:51 -0500 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-05-09 19:56:11 +0200 |
commit | 35fbe8f408dde2fa0efe2aba3f8ecc78565e6696 (patch) | |
tree | a12034bc9629cc55176732580139237c7afdf43c /kdm/kfrontend/kgreeter.cpp | |
parent | 807a5445cad7b0de7c572c58cf7c86f265b6de66 (diff) | |
download | tdebase-35fbe8f408dde2fa0efe2aba3f8ecc78565e6696.tar.gz tdebase-35fbe8f408dde2fa0efe2aba3f8ecc78565e6696.zip |
Fix TDM hang in certain circumstances when themed greeter is deleted
This resolves Bug 1453
Resolve themed greeter drawing inconsistencies between composited and non-composited mode
(cherry picked from commit 3421d01bb00aaf52883a4d21eade96e9c663e05d)
Diffstat (limited to 'kdm/kfrontend/kgreeter.cpp')
-rw-r--r-- | kdm/kfrontend/kgreeter.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp index bb53d4afa..c5f3b4ca4 100644 --- a/kdm/kfrontend/kgreeter.cpp +++ b/kdm/kfrontend/kgreeter.cpp @@ -152,8 +152,9 @@ public: return KListView::paintEmptyArea(p, rect ); const TQPixmap *pm = TQT_TQPIXMAP_CONST(paletteBackgroundPixmap()); - if (!pm || pm->isNull()) + if (!pm || pm->isNull()) { return; + } kdDebug() << "paintEmpty " << rect << endl; TQRect devRect = p->xForm( rect ); |