summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/unx/kde4/VCLKDEApplication.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/kde4/VCLKDEApplication.cxx b/vcl/unx/kde4/VCLKDEApplication.cxx
index 78181b2a486c..319ce17cce13 100644
--- a/vcl/unx/kde4/VCLKDEApplication.cxx
+++ b/vcl/unx/kde4/VCLKDEApplication.cxx
@@ -33,8 +33,9 @@ bool VCLKDEApplication::x11EventFilter(XEvent* ev)
{
//if we have a display and the display consumes the event
//do not process the event in qt
- if (SalKDEDisplay::self() && SalKDEDisplay::self()->Dispatch(ev))
+ if (SalKDEDisplay::self())
{
+ SalKDEDisplay::self()->Dispatch(ev);
return true;
}