kdevelop/parts/outputviews

Andras Mantia amantia at freemail.hu
Tue May 13 00:01:04 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 2003 May 12 14:56, Amilcar do Carmo Lucas wrote:
> CVS commit by aclu:
>
> Patch by: Jrg Rppel <joerg @ sharky-x.de>
> BUG: clicking a compile error tries to open document in wrong directory
> CCMAIL:56960-done at bugs.kde.org

Haven't checked yet, but I'm afraid this will break builddir!=srcdir usage. I
had some discussion with Harry some time ago related to this subject, and as
I remember he told me that the bug is fixed.

Oh, I saw that Harry committed another fix. I will update tomorrow and try 
out.

Andras

>
>
>   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

- --
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+wBl7TQdfac6L/08RAla7AJ4o2K/iomD2/MYpqwst72qLwvpu5gCdHLph
nxFb/Q4Dg3Z8JEsgpDzGDc8=
=/LE3
-----END PGP SIGNATURE-----




More information about the KDevelop-devel mailing list