File dont-warn-no-touchpad.diff of Package synaptiks

Subject: Do not warn about missing touchpad during startup
From: Lubos Lunak
Patch-upstream: no

We install Synaptiks by default. Therefore do not warn about missing touchpad,
otherwise the warning would always show up on e.g. desktop machines.


--- daemon/synaptiksdaemon.cpp.sav	2010-04-11 14:09:53.000000000 +0200
+++ daemon/synaptiksdaemon.cpp	2010-05-25 10:27:03.592226211 +0200
@@ -118,6 +118,7 @@ SynaptiksDaemon::SynaptiksDaemon(QObject
         QDBusConnection::ExportScriptableContents);
 
     if (!touchpad) {
+#if 0
         if (!Touchpad::isSupported()) {
             this->notifyError(
                 i18nc("@info daemon error notification",
@@ -129,6 +130,7 @@ SynaptiksDaemon::SynaptiksDaemon(QObject
                       "<warning>No configurable touchpad was "
                       "found.</warning>"));
         }
+#endif
     } else {
         // create the touchpad manager
         d->touchpadManager = new TouchpadManager(touchpad, monitor, this);