On Fri, Aug 31, 2012 at 4:51 PM, Stephen Chu <[email protected]> wrote:
> I ran into this curious crash in the recent snapshots:
> https://bugreports.qt-project.org/browse/QTCREATORBUG-7801
>
> It seems some line in the header file is causing the crash when opening
> a cpp file. I can't figure out what it is. Maybe I picked a cursed name
> for the function? :)

Funny... But it's kind of.

It seems that our model is getting confused when interpreting the auto
variable named path and the function with the same name. For instance,
if you replace the auto keyword by QString in the following line of
your code the crash goes away.

auto path = path();

Thanks for the hint in the report. :-)


--
Leandro T. C. Melo
http://www.ltcmelo.com
Qt Creator - http://qt.nokia.com/downloads/downloads#qt-creator
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/qt-creator

Reply via email to