From: "Maciej Mrozowski (reavertm)" <reavertm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.0.0-preserve-remote-URI.patch
Date: Sat, 5 Jun 2010 19:59:54 +0000 (UTC) [thread overview]
Message-ID: <20100605195954.98E622C3ED@corvid.gentoo.org> (raw)
reavertm 10/06/05 19:59:54
Added: kdevplatform-1.0.0-preserve-remote-URI.patch
Log:
Add project URI patch, bug 319625
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-util/kdevplatform/files/kdevplatform-1.0.0-preserve-remote-URI.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevplatform/files/kdevplatform-1.0.0-preserve-remote-URI.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/kdevplatform/files/kdevplatform-1.0.0-preserve-remote-URI.patch?rev=1.1&content-type=text/plain
Index: kdevplatform-1.0.0-preserve-remote-URI.patch
===================================================================
commit 2dcbfa0c9de95499902a2313d70ec4422b020770
Author: Andreas Pakulat <apaku@gmx.de>
Date: Wed May 19 09:36:47 2010 +0200
Use the complete url of the active document.
Don't just use the directory, use the complete url of the active
document and go up one step. This fixes the default-dir when working
with remote url.
BUG:238094
diff --git a/shell/documentcontroller.cpp b/shell/documentcontroller.cpp
index 2288972..6d9344f 100644
--- a/shell/documentcontroller.cpp
+++ b/shell/documentcontroller.cpp
@@ -176,7 +176,7 @@ struct DocumentControllerPrivate {
KUrl dir;
if( controller->activeDocument() )
{
- dir = KUrl( controller->activeDocument()->url().directory() );
+ dir = controller->activeDocument()->url().upUrl();
}else
{
dir = KGlobal::config()->group("Open File").readEntry( "Last Open File Directory", Core::self()->projectController()->projectsBaseDirectory() );
next reply other threads:[~2010-06-05 19:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-05 19:59 Maciej Mrozowski (reavertm) [this message]
-- strict thread matches above, loose matches on Subject: below --
2010-10-18 19:27 [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.0.0-preserve-remote-URI.patch Maciej Mrozowski (reavertm)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100605195954.98E622C3ED@corvid.gentoo.org \
--to=reavertm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox