openbsd-ports/x11/kde/base3/patches/patch-kcontrol_clock_main_cpp
espie a0d85fda46 update a large subset of kde 3 to 3.5.7.
Simplify the infrastructure a bit, and let it compile with libfam, now...
2007-05-25 09:49:53 +00:00

18 lines
602 B
Plaintext

$OpenBSD: patch-kcontrol_clock_main_cpp,v 1.5 2007/05/25 09:49:54 espie Exp $
--- kcontrol/clock/main.cpp.orig Mon Oct 10 17:03:48 2005
+++ kcontrol/clock/main.cpp Mon May 14 19:06:23 2007
@@ -80,8 +80,13 @@ KclockModule::KclockModule(QWidget *parent, const char
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()", QByteArray() );