From 9a75b7498c4b4aa33e86f5044649123291ac47a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 12 Oct 2014 20:02:23 +0200 Subject: Fix time saving in kcontrol clock module on openbsd --- kcontrol/clock/main.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kcontrol') 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() ); -- cgit v1.2.1