Re: [Qt-creator] Bug? Lightbulb changes wrong file - not in project

2016-08-24 Thread Nikolai Kosjar

On 08/23/2016 08:44 PM, Jason H wrote:

I had two projects open. One with a platformshimandroid.[h,cpp] and one with 
platformshim_android.[h,cpp]

In one project I changed this:
explicit PlatformShimImpl(QObject* parent=0); // platformshim_android.h
to
explicit PlatformShimImpl(Interfaces flags, QObject* parent=0); // 
platformshim_android.h

And I got the light bulb. I clicked it, and it changed platformshimandroid.cpp, 
a file in another project. (I now use _ in the filename)
It should have matched to platformshim_android.cpp in the SAME project.


Dear Jason,

please report such things at the bug tracker:

   https://bugreports.qt.io/

Nikolai

___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator


[Qt-creator] Bug? Lightbulb changes wrong file - not in project

2016-08-23 Thread Jason H
I had two projects open. One with a platformshimandroid.[h,cpp] and one with 
platformshim_android.[h,cpp]

In one project I changed this:
explicit PlatformShimImpl(QObject* parent=0); // platformshim_android.h
to 
explicit PlatformShimImpl(Interfaces flags, QObject* parent=0); // 
platformshim_android.h

And I got the light bulb. I clicked it, and it changed platformshimandroid.cpp, 
a file in another project. (I now use _ in the filename) 
It should have matched to platformshim_android.cpp in the SAME project.


Can anyone else confirm this?
4.0.3
___
Qt-creator mailing list
Qt-creator@qt-project.org
http://lists.qt-project.org/mailman/listinfo/qt-creator