Hi, I have a very strange bug involving the statusBar. With this line:

Qt Code:
  1. ui->statusBar->showMessage("Pressure deviation");
To copy to clipboard, switch view to plain text mode 

I manage to screw my program up badly. The bug appears in a completely other part of the program which doesn't have anything to do with Qt (in fact that part is written as an API), and I never read from the statusBar so I don't know ho writing to it can cause the bug to appear. If I comment the line out the bug will never appear.

I would appreciate any help I could get to solve this problem. Thanks in advance.