summaryrefslogtreecommitdiffstats
path: root/source/kde/kdebindings/pykdeuic4.patch
blob: 7cd7794692c917cb1c15cd955c09afc029ae569a (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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("""