[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kile/frameworks] src: Port 'KUrl::cleanPath'
From: Michel Ludwig <michel.ludwig () kdemail ! net>
Date: 2014-09-08 19:38:53
Message-ID: E1XR4m5-0000rs-Ha () scm ! kde ! org
[Download RAW message or body]
Git commit c0c386667b750187dcaa3d00eb506171dc4fa6a4 by Michel Ludwig.
Committed on 08/09/2014 at 19:38.
Pushed by mludwig into branch 'frameworks'.
Port 'KUrl::cleanPath'
M +2 -4 src/kiletool.cpp
http://commits.kde.org/kile/c0c386667b750187dcaa3d00eb506171dc4fa6a4
diff --git a/src/kiletool.cpp b/src/kiletool.cpp
index 6ac3133..c2be50b 100644
--- a/src/kiletool.cpp
+++ b/src/kiletool.cpp
@@ -1,6 +1,6 @@
/***************************************************************************
Copyright (C) 2003 by Jeroen Wijnhout (jeroen.wijnhout@kdemail.net)
- 2010-2013 by Michel Ludwig (michel.ludwig@kdemail.net)
+ 2010-2014 by Michel Ludwig (michel.ludwig@kdemail.net)
***************************************************************************/
/***************************************************************************
@@ -394,9 +394,7 @@ namespace KileTool
url = QUrl::fromLocalFile(m_basedir);
}
url = url.adjusted(QUrl::StripTrailingSlash);
- url.setPath(url.path() + '/' + m_relativedir);
-//TODO KF5
-// url.cleanPath();
+ url.setPath(QDir::cleanPath(url.path() + '/' + m_relativedir));
m_targetdir = url.toLocalFile();
setTarget(m_target);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic