summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/documentlistview.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a3b3c30..43d481f 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/documentlistview.cpp b/src/documentlistview.cpp
index 8efabb0..f221b5d 100644
--- a/src/documentlistview.cpp
+++ b/src/documentlistview.cpp
@@ -659,7 +659,7 @@ namespace KBibTeX
TQStrList urlList;
if ( TQTextDrag::decode( event, text ) && KURL( text ).isValid() )
- urlList.append( text );
+ urlList.append( text.utf8() );
if ( !urlList.isEmpty() || TQUriDrag::decode( event, urlList ) )
{