This seems to work:
void
DriverView::refreshDriverView() {
body->hide();
mainLayout->removeWidget(body);
body = driverFactory()->driverUserInterface(driverFactory()->currentDriver());
mainLayout->addWidget(body);
body->show();
}
void
DriverView::refreshDriverView() {
body->hide();
mainLayout->removeWidget(body);
body = driverFactory()->driverUserInterface(driverFactory()->currentDriver());
mainLayout->addWidget(body);
body->show();
}
To copy to clipboard, switch view to plain text mode
Is there anything that speeks against this ?
Bookmarks