Fixed deprecated reference to dockWidget