summaryrefslogtreecommitdiffstats
path: root/tdm/kfrontend/kgreeter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdm/kfrontend/kgreeter.cpp')
-rw-r--r--tdm/kfrontend/kgreeter.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tdm/kfrontend/kgreeter.cpp b/tdm/kfrontend/kgreeter.cpp
index 0d89b065c..5ff8d5516 100644
--- a/tdm/kfrontend/kgreeter.cpp
+++ b/tdm/kfrontend/kgreeter.cpp
@@ -154,8 +154,9 @@ public:
return TDEListView::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 );
@@ -1355,6 +1356,9 @@ void ControlPipeHandlerObject::run(void) {
return;
}
}
+
+ // Thread cancellation point
+ usleep(1);
}
TQApplication::eventLoop()->exit(-1);
}