summaryrefslogtreecommitdiff
path: root/media-gfx/qvv/files/qvv-4.04-toLatin1.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-01-13 06:19:51 +0000
commit8be70107efbb417f839292165ee39d07a062046f (patch)
tree013918887ec4a00f0cefdb4b4d1313cbc3054305 /media-gfx/qvv/files/qvv-4.04-toLatin1.patch
parent343a7272d559a21a0e0ed13cb743fabb2bfcc479 (diff)
gentoo resync : 13.01.2018
Diffstat (limited to 'media-gfx/qvv/files/qvv-4.04-toLatin1.patch')
-rw-r--r--media-gfx/qvv/files/qvv-4.04-toLatin1.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/media-gfx/qvv/files/qvv-4.04-toLatin1.patch b/media-gfx/qvv/files/qvv-4.04-toLatin1.patch
new file mode 100644
index 000000000000..3db2b32ad4bc
--- /dev/null
+++ b/media-gfx/qvv/files/qvv-4.04-toLatin1.patch
@@ -0,0 +1,22 @@
+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;