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

List:       kde-commits
Subject:    branches/smb4k/1.0
From:       Alexander Reinholdt <alexander.reinholdt () kdemail ! net>
Date:       2012-12-25 20:54:33
Message-ID: 20121225205433.C3638AC80E () svn ! kde ! org
[Download RAW message or body]

SVN commit 1329853 by areinholdt:

Fixed SF ticket #28.


 M  +5 -0      ChangeLog  
 M  +1 -1      core/smb4kmounter_p.cpp  


--- branches/smb4k/1.0/ChangeLog #1329852:1329853
@@ -1,3 +1,8 @@
+Smb4K 1.0.5 (????-??-??):
+- Fixed hanging of Smb4K when a custom mount prefix without a trailing
+  slash was entered (closes SF ticket #28). Thanks go to Ettore Atalan
+  for reporting this issue and PhobosK for the patch.
+
 Smb4K 1.0.4 (2012-08-19):
 - Fixed erroneously shown error notifications when searching. Thanks to
   Alexander Willand for reporting this issue.
--- branches/smb4k/1.0/core/smb4kmounter_p.cpp #1329852:1329853
@@ -186,7 +186,7 @@
   {
     KUrl u( dir.path() );
     
-    while ( u != parentDirectory )
+    while ( !parentDirectory.equals( u, KUrl::CompareWithoutTrailingSlash ) )
     {
       QFile( u.path() ).setPermissions( permissions );
       u = u.upUrl();
[prev in list] [next in list] [prev in thread] [next in thread] 

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