[Bug 56960] clicking a compile error tries to open document in wrong directory

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Mon May 12 13:57:06 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=56960     
amilcar at ida.ing.tu-bs.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From amilcar at ida.ing.tu-bs.de  2003-05-12 13:56 -------
Subject: kdevelop/parts/outputviews

CVS commit by aclu: 

Patch by: Jörg Rüppel <joerg @ sharky-x.de>
BUG: clicking a compile error tries to open document in wrong directory
CCMAIL:56960-done at bugs.kde.org


  M +2 -2      makewidget.cpp   1.87


--- kdevelop/parts/outputviews/makewidget.cpp  #1.86:1.87
@@ -440,6 +440,6 @@ QString MakeWidget::guessFileName( const
     else if ( fName.contains( "/" ) )
     {
-        // assume relative path to the project dir
-        name = m_part->project()->projectDirectory() + "/" + fName;
+        // assume relative path to the build dir
+        name = m_part->project()->buildDirectory() + "/" + fName;
     }
     else




More information about the KDevelop-devel mailing list