summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/app/captureFrame.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ddfb4f..cb9c06d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -59,7 +59,7 @@ include( ConfigureChecks.cmake )
###### global compiler settings
-add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST )
+add_definitions( -DHAVE_CONFIG_H )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" )
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 ) );