Commit 6f39c297 authored by Rafaël Carré's avatar Rafaël Carré

qt4: fix a segfault

parent 5db73af5
......@@ -403,7 +403,7 @@ void MainInterface::calculateInterfaceSize()
width = PREF_W - addSize.width();
height = PREF_H - addSize.height();
}
if( !dockPL->isFloating() )
if( !dockPL->isFloating() && dockPL->widget() )
{
width += dockPL->widget()->width();
height += dockPL->widget()->height();
......
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