Index: ksystemtrayicon.cpp
===================================================================
--- ksystemtrayicon.cpp	(revision 793979)
+++ ksystemtrayicon.cpp	(working copy)
@@ -253,6 +253,8 @@
         }
         minimizeRestore( false ); // hide
     }
+#else
+    d->window->setVisible(!d->window->isVisible());
 #endif
 }
 
@@ -277,6 +279,8 @@
 	d->onAllDesktops = info.onAllDesktops();
 	pw->hide();
     }
+#else
+    d->window->setVisible(!d->window->isVisible());
 #endif
 }
 
