From 5e7b4208af67228e8dae4bfb4f08d4dd69107102 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 28 Jun 2020 18:10:57 +0200 Subject: Added controlled conversions to char* instead of automatic ascii conversions. The definition of -UTQT_NO_ASCII_CAST is no longer needed. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- src/app/captureFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/app/captureFrame.cpp') 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 ) ); -- cgit v1.2.1