diff options
Diffstat (limited to 'pyuic3/object.cpp')
| -rw-r--r-- | pyuic3/object.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pyuic3/object.cpp b/pyuic3/object.cpp index 5ee2b73..1b7232f 100644 --- a/pyuic3/object.cpp +++ b/pyuic3/object.cpp @@ -247,7 +247,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla  		TQString page = createObjectImpl( n, objClass, fullObjName );  		TQString comment;  		TQString label = DomTool::readAttribute( n, "title", "", comment ).toString(); -		out << indent << fullObjName << ".insertTab(" << page << ",TQString.fromLatin1(\"\"))" << endl; +		out << indent << fullObjName << ".insertTab(" << page << ",TQString.fromUtf8(\"\"))" << endl;  		trout << trindent << fullObjName << ".changeTab(" << page << "," << trcall( label, comment ) << ")" << endl;  	    }  	} @@ -265,7 +265,7 @@ TQString Uic::createObjectImpl( const TQDomElement &e, const TQString& parentCla  		TQString page = createObjectImpl( n, objClass, fullObjName );  		TQString comment;  		TQString label = DomTool::readAttribute( n, "label", "", comment ).toString(); -		out << indent << fullObjName << ".addItem(" << page << ",TQString.fromLatin1(\"\"))" << endl; +		out << indent << fullObjName << ".addItem(" << page << ",TQString.fromUtf8(\"\"))" << endl;  		trout << trindent << fullObjName << ".setItemLabel(" << fullObjName  		      << ".indexOf(" << page << ")," << trcall( label, comment )  		      << ")" << endl; | 
