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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/runners/locations
From:       Frode M. Døving <frode () lnix ! net>
Date:       2008-01-13 15:51:25
Message-ID: 1200239485.555121.25791.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 760877 by fdoving:

Cleaning up after myself.
We want to be able to go to hosts directly, with no path.


 M  +3 -1      locationrunner.cpp  


--- trunk/KDE/kdebase/workspace/plasma/runners/locations/locationrunner.cpp #760876:760877
@@ -81,7 +81,9 @@
             int idx = term.indexOf('/');
             url.clear();
             url.setHost(term.left(idx));
-            url.setPath(term.remove(0,idx));
+            if (idx != -1) {
+                url.setPath(term.mid(idx));
+            }
             url.setProtocol("http");
         }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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