summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/clockapplet/clock.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/core/applets/clockapplet/clock.cpp b/core/applets/clockapplet/clock.cpp
index 52d285b..19d3f6c 100644
--- a/core/applets/clockapplet/clock.cpp
+++ b/core/applets/clockapplet/clock.cpp
@@ -61,14 +61,11 @@ void LauncherClock::readConfig() {
61void LauncherClock::mouseReleaseEvent( QMouseEvent * ) 61void LauncherClock::mouseReleaseEvent( QMouseEvent * )
62{ 62{
63 QCString setTimeApp; 63 QCString setTimeApp;
64 if (QFile::exists(QPEApplication::qpeDir()+"bin/netsystemtime")) 64 setTimeApp="systemtime";
65 setTimeApp="netsystemtime";
66 else setTimeApp="systemtime";
67 QCopEnvelope e("QPE/Application/"+setTimeApp, "setDocument(QString)"); 65 QCopEnvelope e("QPE/Application/"+setTimeApp, "setDocument(QString)");
68 QString lf = QString::null; 66 QString lf = QString::null;
69 67
70 e << lf; 68 e << lf;
71
72} 69}
73 70
74 71