diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 18:10:57 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-06-28 18:13:23 +0200 |
commit | 5e7b4208af67228e8dae4bfb4f08d4dd69107102 (patch) | |
tree | 98ac9ad53ffc8200736988c932369203c9f74fb8 /src | |
parent | b51af279c4be77dd401b0ba910a34d9977b2453f (diff) | |
download | codeine-5e7b4208af67228e8dae4bfb4f08d4dd69107102.tar.gz codeine-5e7b4208af67228e8dae4bfb4f08d4dd69107102.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 'src')
-rw-r--r-- | src/app/captureFrame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/captureFrame.cpp b/src/app/captureFrame.cpp index 3be0e9f..1ef8a4f 100644 --- a/src/app/captureFrame.cpp +++ b/src/app/captureFrame.cpp @@ -107,7 +107,7 @@ public: return; const TQString type = dialog.currentFilter().remove( 0, 2 ).upper(); - if( m_frame.save( fileName, type ) ) + if( m_frame.save( fileName, type.utf8() ) ) message( i18n("%1 saved successfully").arg( fileName ) ); else message( i18n("Sorry, could not save %1").arg( fileName ) ); |