rev 14049 - trunk/packages/kdelibs/debian/patches

Fathi Boudra fabo at alioth.debian.org
Thu Mar 12 17:01:49 UTC 2009


Author: fabo
Date: 2009-03-12 17:01:48 +0000 (Thu, 12 Mar 2009)
New Revision: 14049

Modified:
   trunk/packages/kdelibs/debian/patches/01_kcmdlineargs_decoding_svn934640.diff
Log:
One more encoding bug update.


Modified: trunk/packages/kdelibs/debian/patches/01_kcmdlineargs_decoding_svn934640.diff
===================================================================
--- trunk/packages/kdelibs/debian/patches/01_kcmdlineargs_decoding_svn934640.diff	2009-03-12 16:38:09 UTC (rev 14048)
+++ trunk/packages/kdelibs/debian/patches/01_kcmdlineargs_decoding_svn934640.diff	2009-03-12 17:01:48 UTC (rev 14049)
@@ -518,7 +518,7 @@
        }
  #endif
     }
-@@ -1417,8 +1400,8 @@ KCmdLineArgsPrivate::setOption(const QSt
+@@ -1417,17 +1400,17 @@ KCmdLineArgsPrivate::setOption(const QSt
  QString
  KCmdLineArgs::getOption(const QByteArray &_opt) const
  {
@@ -529,8 +529,10 @@
     if (d->parsedOptionList)
     {
        value = d->parsedOptionList->value(opt);
-@@ -1427,7 +1410,7 @@ KCmdLineArgs::getOption(const QByteArray
-       return value;
+    }
+    if (!value.isEmpty())
+-      return value;
++      return QString::fromLocal8Bit(value);
  
     // Look up the default.
 -   QString opt_name;




More information about the pkg-kde-commits mailing list