summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrançois Andriot <francois.andriot@free.fr>2014-10-12 20:02:23 +0200
committerSlávek Banko <slavek.banko@axis.cz>2014-10-12 20:02:23 +0200
commit9a75b7498c4b4aa33e86f5044649123291ac47a7 (patch)
treef774f5e2b4e72a424ed40d2b86268b70001fb249
parentd3ce4fa7931f1a69fb3f6bd759a864db09ebbdc2 (diff)
downloadtdebase-9a75b7498c4b4aa33e86f5044649123291ac47a7.tar.gz
tdebase-9a75b7498c4b4aa33e86f5044649123291ac47a7.zip
Fix time saving in kcontrol clock module on openbsd
-rw-r--r--kcontrol/clock/main.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kcontrol/clock/main.cpp b/kcontrol/clock/main.cpp
index 5508d91ac..a59599b71 100644
--- a/kcontrol/clock/main.cpp
+++ b/kcontrol/clock/main.cpp
@@ -80,8 +80,13 @@ KclockModule::KclockModule(TQWidget *parent, const char *name, const TQStringLis
void KclockModule::save()
{
// The order here is important
+#ifdef __OpenBSD__
+ tzone->save();
+ dtime->save();
+#else
dtime->save();
tzone->save();
+#endif
// Tell the clock applet about the change so that it can update its timezone
kapp->dcopClient()->send( "kicker", "ClockApplet", "reconfigure()", TQByteArray() );