On Sun, Nov 17, 2013 at 8:03 PM, Olivier Goffart <[email protected]> wrote:
> On Sunday 17 November 2013 19:07:48 Mark Gaiser wrote:
>
>> 4. GDB (or whatever you used) should hit the bearkpoint. Now inspace
>> the "event" members (name specifically). It's empty while it shouldn't
>> be.
>
> Hi,
> I'd add a qDebug()  to be sure.
> Maybe it's just GDB giving wronf information.  Perhaps the data as been
> optimized.  Perhaps gdb think the name has lengh 0 because it is declared as a
> char[].

Hi Oliver,

I tried your suggestion and that indeed works though not as i would expect it.
Yes, it does get printed on screen when i put event.name in a qDebug line.

However, none of the emit signals in that function (readFromInotify)
work anymore when i use "event.name" there. Anywhere! I just tried
that out since you've had send the reply.
You can find the diff of the stuff that's i've done thus far. Just
adding this to your code breaks all the emits and i have no clue as to
why that happens or how it's even possible.

If you have any clue.. please do tell.
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to