[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kio/kfile
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2009-07-22 21:30:09
Message-ID: 1248298209.969905.26871.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1001314 by cfeck:

Correctly handle slashes when converting filters from Qt

Patch by Felix Geyer, reviewed by Albert Astals Cid
See http://reviewboard.kde.org/r/934/

BUG: 197195


 M  +1 -1      kfiledialog.cpp  


--- trunk/KDE/kdelibs/kio/kfile/kfiledialog.cpp #1001313:1001314
@@ -1002,7 +1002,7 @@
     {
         QString               filter;
         QTextStream           str(&filter, QIODevice::WriteOnly);
-        QStringList           list(f.split(";;"));
+        QStringList           list(f.split(";;").replaceInStrings("/", "\\/"));
         QStringList::const_iterator it(list.begin()),
                               end(list.end());
         bool                  first=true;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic