public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.0.0-preserve-remote-URI.patch
@ 2010-06-05 19:59 Maciej Mrozowski (reavertm)
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Mrozowski (reavertm) @ 2010-06-05 19:59 UTC (permalink / raw
  To: gentoo-commits

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() );






^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.0.0-preserve-remote-URI.patch
@ 2010-10-18 19:27 Maciej Mrozowski (reavertm)
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Mrozowski (reavertm) @ 2010-10-18 19:27 UTC (permalink / raw
  To: gentoo-commits

reavertm    10/10/18 19:27:40

  Removed:              kdevplatform-1.0.0-preserve-remote-URI.patch
  Log:
  Remove old
  
  (Portage version: 2.2_rc98/cvs/Linux x86_64)



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-10-18 19:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-05 19:59 [gentoo-commits] gentoo-x86 commit in dev-util/kdevplatform/files: kdevplatform-1.0.0-preserve-remote-URI.patch Maciej Mrozowski (reavertm)
  -- strict thread matches above, loose matches on Subject: below --
2010-10-18 19:27 Maciej Mrozowski (reavertm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox