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

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

SVN commit 1001316 by cfeck:

Correctly handle slashes when converting filters from Qt (backport r1001314)

CCBUG: 197195


 M  +1 -1      kfiledialog.cpp  


--- branches/KDE/4.3/kdelibs/kio/kfile/kfiledialog.cpp #1001315:1001316
@@ -985,7 +985,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