diff options
Diffstat (limited to 'source/kde/kdebindings/pykdeuic4.patch')
-rw-r--r-- | source/kde/kdebindings/pykdeuic4.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/source/kde/kdebindings/pykdeuic4.patch b/source/kde/kdebindings/pykdeuic4.patch new file mode 100644 index 00000000..7cd77946 --- /dev/null +++ b/source/kde/kdebindings/pykdeuic4.patch @@ -0,0 +1,22 @@ +Index: pykdeuic4.py +=================================================================== +--- pykdeuic4.py (revisione 1209658) ++++ pykdeuic4.py (copia locale) +@@ -39,7 +39,7 @@ + def __init__(self,string): + original_i18n_string.__init__(self,string) + def __str__(self): +- return "kdecore.i18n(\"%s\")" % (qtproxies.escape(self.string),) ++ return "kdecore.i18n(\"%s\")" % (qtproxies.as_string(self.string),) + qtproxies.i18n_string = kde_i18n_string + + def kdeFilter(): +@@ -71,7 +71,7 @@ + indenter.indentwidth = indent + comp = compiler.UICompiler() + comp.factory._cwFilters.append(kdeFilter()) +- winfo = comp.compileUi(uifile, output) ++ winfo = comp.compileUi(uifile, output, "") + + if exe: + output.write(""" |