Hi, the following code
Qt Code:
  1. statusLabel = new QLabel(" idle ", this);
  2. statusBar()->addWidget(statusLabel);
  3.  
  4. statusLabel->setText("doing something");
  5. myobject->do_smth_for_minute();
  6. statusLabel->setText("something done");
To copy to clipboard, switch view to plain text mode 
does not update the statusLabel, it just stays "something done". How can I force updating the widget?