diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2021-03-07 20:24:08 +0100 |
|---|---|---|
| committer | gregory guy <gregory-tde@laposte.net> | 2021-03-11 15:04:46 +0100 |
| commit | 70defe5e6d9498c5c6011eee50c4dc506abebd61 (patch) | |
| tree | c2d269ffeaf389637607efa6547ff8eb2d41cd45 /kommander/factory/domtool.cpp | |
| parent | 4c43d1fbb66a296958ed1d0dbddf3f8ac4466130 (diff) | |
| download | tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.tar.gz tdewebdev-70defe5e6d9498c5c6011eee50c4dc506abebd61.zip | |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kommander/factory/domtool.cpp')
| -rw-r--r-- | kommander/factory/domtool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kommander/factory/domtool.cpp b/kommander/factory/domtool.cpp index 56a98a69..587b4a24 100644 --- a/kommander/factory/domtool.cpp +++ b/kommander/factory/domtool.cpp @@ -169,7 +169,7 @@ TQVariant DomTool::elementToVariant( const TQDomElement& e, const TQVariant& def if ( n.tagName() == "comment" ) comment = n.firstChild().toText().data(); } else if ( e.tagName() == "cstring" ) { - v = TQVariant( TQCString( e.firstChild().toText().data() ) ); + v = TQVariant( e.firstChild().toText().data().utf8() ); } else if ( e.tagName() == "number" ) { bool ok = true; v = TQVariant( e.firstChild().toText().data().toInt( &ok ) ); |
