
Originally Posted by
sekatsim
MainWindowImpl mainwin;
mainwin.refreshDisplay();
As far as I can tell, this is whats causing the problem. Is there anyway I can get around this?
Do I understand correctly that you invoke refreshDisplay() before QApplication::exec()?
Maybe the error message is a bit misleading and you should try:
MainWindowImpl mainwin;
QTimer::singleShot( 0,
& mainwin,
"refreshDisplay" );
MainWindowImpl mainwin;
QTimer::singleShot( 0, & mainwin, "refreshDisplay" );
To copy to clipboard, switch view to plain text mode
(provided that refreshDisplay() is a slot)?
Bookmarks