[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform] project: Use non-deprecated API.
From: Milian Wolff <mail () milianw ! de>
Date: 2012-10-28 16:48:12
Message-ID: 20121028164812.E4438A6078 () git ! kde ! org
[Download RAW message or body]
Git commit c5f9e0ff86e3bb9259a6f3c954b7a30ff08155d7 by Milian Wolff.
Committed on 28/10/2012 at 17:39.
Pushed by mwolff into branch 'master'.
Use non-deprecated API.
M +1 -1 project/helper.cpp
http://commits.kde.org/kdevplatform/c5f9e0ff86e3bb9259a6f3c954b7a30ff08155d7
diff --git a/project/helper.cpp b/project/helper.cpp
index 7456584..869700e 100644
--- a/project/helper.cpp
+++ b/project/helper.cpp
@@ -41,7 +41,7 @@ bool KDevelop::removeUrl(const KDevelop::IProject* projec=
t, const KUrl& url, con
{
QWidget* window(ICore::self()->uiController()->activeMainWindow()->win=
dow());
=
- if ( !KIO::NetAccess::exists(url, true, window) ) {
+ if ( !KIO::NetAccess::exists(url, KIO::NetAccess::DestinationSide, win=
dow) ) {
kWarning() << "tried to remove non-existing url:" << url << projec=
t << isFolder;
return true;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic