Hi,

I have a MainWindow with drop down menus:

Qt Code:
  1. ...
  2. redrawAct = new QAction(tr("&Redraw"), this);
  3. connect(redrawAct, SIGNAL(triggered()), this, SLOT(redraw()));
  4.  
  5. redrawMenu = menuBar()->addMenu(tr("&Redraw"));
  6. redrawMenu->addAction(redrawAct);
  7. ...
To copy to clipboard, switch view to plain text mode 

When I select that "redraw" menu the painting starts to a Pixmap and so is not visible, but the disappeared redraw menu leaves a hole in the window, until the pixmap is painted.

Is that hole avoidable?

This is a picture:
http://www.esnips.com/doc/d24bf3f2-1...f31a463af3/ret