Re: Adding new variable into header file breaks my application

Originally Posted by
amleto
show compilable example. What you are posting is very unlikely to be the fault. Your code is probably tripping over some other undefined behaviour.

Originally Posted by
Raadush
amleto: Yes, what I'm posting is not fault, but as I said there are 4 commented lines in that code and when I uncoment one of them (define one new QMenu or QAction variable) my app stops working. I dont have used them anywhere else in my code except this definition.
I'll repeat.

Originally Posted by
amleto
show compilable example.
Oh yeah, and it's in my sig too.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks