[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebase/kcontrol/kdm
From: Waldo Bastian <bastian () kde ! org>
Date: 2004-11-06 17:19:33
Message-ID: 20041106171933.CB1CA16B9E () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Proper URL handling
M +2 -3 kdm-appear.cpp 1.91
--- kdebase/kcontrol/kdm/kdm-appear.cpp #1.90:1.91
@@ -423,7 +423,6 @@ void KDMAppearanceWidget::iconLoaderDrop
// we gotta check if it is a non-local file and make a tmp copy at the hd.
if(!url->isLocalFile()) {
- pixurl = "file:" +
- KGlobal::dirs()->resourceDirs("data").last() +
- "kdm/pics/" + url->fileName();
+ pixurl.setPath(KGlobal::dirs()->resourceDirs("data").last() +
+ "kdm/pics/" + url->fileName());
KIO::NetAccess::copy(*url, pixurl, parentWidget());
istmp = true;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic