Commit 48a0b613 authored by David Faure's avatar David Faure
Browse files

And this is the workaround for the crash

svn path=/trunk/KDE/kdebase/konqueror/; revision=539767
parent 772c94eb
......@@ -33,6 +33,7 @@ MyMainWindow::MyMainWindow( QWidget* parent )
void MyMainWindow::slotSwitchCentralWidget()
QLabel* widget2 = new QLabel( "widget2" );
delete centralWidget(); // ## workaround for the crash
setCentralWidget( widget2 );
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment