You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/qvv/files/qvv-4.04-toLatin1.patch

23 lines
1008 B

From 61b243ccc907f34115a00572e2d8f2bfa2682e6c Mon Sep 17 00:00:00 2001
From: Vladi Belperchinov-Shabanski <cade@datamax.bg>
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;