diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-02-24 14:49:03 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-02-24 14:53:44 +0100 |
commit | 20a84daca2dfed6201373911a0c252f9d36c29c3 (patch) | |
tree | ce4aee38bd95b0a2a536e92e2d3ba619cb20ceb1 /kbarcode/definition.cpp | |
parent | 62481690071ce35abc780ba582a292b82b35b350 (diff) | |
download | kbarcode-20a84daca2dfed6201373911a0c252f9d36c29c3.tar.gz kbarcode-20a84daca2dfed6201373911a0c252f9d36c29c3.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 'kbarcode/definition.cpp')
-rw-r--r-- | kbarcode/definition.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kbarcode/definition.cpp b/kbarcode/definition.cpp index fcc1866..ec34b12 100644 --- a/kbarcode/definition.cpp +++ b/kbarcode/definition.cpp @@ -306,7 +306,7 @@ bool Definition::openFile() if( !TQFile::exists( fname ) || fname.isEmpty() ) return ( showFileError() ? openFile() : false ); - if(!filecopy( (const char*)fname, (const char*)f )) + if(!filecopy( fname.local8Bit(), f.local8Bit() )) return ( showFileError() ? openFile() : false ); } |