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

List:       kde-devel
Subject:    [PATCH] Compilation error fix in klocale.h
From:       Andras Mantia <amantia () virtualartisans ! com>
Date:       2002-12-04 10:53:50
[Download RAW message or body]

Hi,

 WIth yesteday's CVS the compilation of kdebase failed due to an error in 
klocale.h. This may be not the most beautiful fix, but it does the work (and 
removes a 
warning message).

Andras



["klocale.h.diff" (text/x-diff)]

--- klocale.h	Tue Dec  3 16:28:13 2002
+++ /opt/kde3/include/klocale.h	Wed Dec  4 12:51:18 2002
@@ -974,13 +974,13 @@
    * @deprecated
    * @return True
    */
-  bool setCharset(const QString & charset) { return true; }
+  bool setCharset(const QString & /*charset*/) { return true; }
 
   /**
    * @deprecated
    * @see encoding
    */
-  QString charset() const { return "UTF-8"; }
+  QString charset() const { QString s = "UTF-8"; return s; }
 
 protected:
   /**

>> 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