summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-02-05 20:36:42 +0100
committerSlávek Banko <[email protected]>2019-02-05 20:57:30 +0100
commit6a2c7f1fed9aa44110d36b427198b6fbc9def330 (patch)
tree193c1986e09acf4f34f025f6fc95667cfbeba7ec /src
parentbab126306693a1e069d730e616c9534a2d1ae359 (diff)
downloadkbibtex-6a2c7f1fed9aa44110d36b427198b6fbc9def330.tar.gz
kbibtex-6a2c7f1fed9aa44110d36b427198b6fbc9def330.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 <[email protected]> (cherry picked from commit 384422dd256c49b185042e2b2c639e4d665b2b71)
Diffstat (limited to 'src')
-rw-r--r--src/documentlistview.cpp2
1 files changed, 1 insertions, 1 deletions
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 ) )
{