[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    [PATCH] clock.cpp compile error
From:       Martin Koller <m.koller () surfeu ! at>
Date:       2003-06-28 21:50:47
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

HEAD can not compile the clock applet.
here is the patch.
- -- 
Best regards/Schöne Grüße

Martin

Public key at:
http://blackhole.pca.dfn.de:11371/pks/lookup?op=get&search=0x8DFB0F86
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE+/g24HmdPoI37D4YRAsKnAJ4/cBDNXUx6o3zzOklB0Iq6EYTrbgCfZOIO
IDZFFqofPsRaMkwn+vz9oYA=
=fXGn
-----END PGP SIGNATURE-----

["patch.clock.cpp" (text/x-c++src)]

? patch.clock.cpp
Index: clock.cpp
===================================================================
RCS file: /home/kde/kdebase/kicker/applets/clock/clock.cpp,v
retrieving revision 1.144
diff -u -3 -p -r1.144 clock.cpp
--- clock.cpp	28 Jun 2003 16:02:56 -0000	1.144
+++ clock.cpp	28 Jun 2003 21:49:43 -0000
@@ -841,13 +841,13 @@ void ClockApplet::loadSettings()
 #if KDE_VERSION_MAJOR == 3 && KDE_VERSION_MINOR <= 2
     QString oldSetting = config()->readEntry("Type");
     if(oldSetting == "Plain")
-      type = 0;
+      type = Plain;
     else if(oldSetting == "Digital")
-      type = 1;
+      type = Digital;
     else if(oldSetting == "Analog")
-      type = 2;
+      type = Analog;
     else if(oldSetting == "Fuzzy")
-      type = 3;
+      type = Fuzzy;
 #endif
 }
 


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic