[Bug 822623] [libqapt] src: Fix a bug that didn't allow files in paths with non-ascii characters to be loaded.

Jonathan Thomas echidnaman at kubuntu.org
Mon Aug 8 21:45:10 UTC 2011


Git commit dbab3c83a54aa627f66983312eac594da586c17e by Jonathan Thomas.
Committed on 08/08/2011 at 23:40.
Pushed by jmthomas into branch 'master'.

Fix a bug that didn't allow files in paths with non-ascii characters to
be loaded.

CCMAIL: 822623 at bugs.launchpad.net

M  +1    -1    src/debfile.cpp

http://commits.kde.org/libqapt/dbab3c83a54aa627f66983312eac594da586c17e

diff --git a/src/debfile.cpp b/src/debfile.cpp
index b892630..c315f53 100644
--- a/src/debfile.cpp
+++ b/src/debfile.cpp
@@ -59,7 +59,7 @@ class DebFilePrivate
 
 void DebFilePrivate::init()
 {
-    FileFd in(filePath.toStdString(), FileFd::ReadOnly);
+    FileFd in(filePath.toUtf8().data(), FileFd::ReadOnly);
     debDebFile deb(in);
 
     // Extract control data


** Changed in: qapt (Ubuntu)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qapt in Ubuntu.
https://bugs.launchpad.net/bugs/822623

Title:
  Can't install deb package from "Frensh" named folder

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qapt/+bug/822623/+subscriptions




More information about the kubuntu-bugs mailing list