From 61b243ccc907f34115a00572e2d8f2bfa2682e6c Mon Sep 17 00:00:00 2001 From: Vladi Belperchinov-Shabanski Date: Thu, 26 Feb 2015 16:08:51 +0200 Subject: [PATCH] toascii-tolatin1-fix --- src/qvv_main_win.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qvv_main_win.cpp b/src/qvv_main_win.cpp index 3516f87..0ade17c 100644 --- a/src/qvv_main_win.cpp +++ b/src/qvv_main_win.cpp @@ -783,7 +783,7 @@ int QvvMainWindow::deleteItems( int current_only ) //qDebug() << "DELETE YES: " << file_name << " RESBUTTON: " << QVariant( confirm->activated_button ).toString(); - QString path_hash = QVariant( QCryptographicHash::hash( cdir.absolutePath().toAscii(), QCryptographicHash::Sha1 ).toHex() ).toString(); + QString path_hash = QVariant( QCryptographicHash::hash( cdir.absolutePath().toLatin1(), QCryptographicHash::Sha1 ).toHex() ).toString(); QString trash_file_name = trash_can + "/" + path_hash + "." + item->text( 1 ); int moved_ok = 0;