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

List:       kde-commits
Subject:    KDE/kdebase/runtime/knetattach
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2008-04-09 8:52:46
Message-ID: 1207731166.127250.16025.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 795110 by habacker:

win32 fix

 M  +3 -0      knetattach.cpp  


--- trunk/KDE/kdebase/runtime/knetattach/knetattach.cpp #795109:795110
@@ -186,9 +186,12 @@
     url.setHost(_host->text().trimmed());
     url.setUser(_user->text().trimmed());
     QString path = _path->text().trimmed();
+#ifndef Q_WS_WIN
+    // could a relative path really be made absolute by simply prepending a '/' ?
     if (!path.startsWith('/')) {
 	path = QString("/") + path;
     }
+#endif
     url.setPath(path);
    _folderParameters->setEnabled(false);
     bool success = doConnectionTest(url);
[prev in list] [next in list] [prev in thread] [next in thread] 

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