When enabling outputs, it's possible that a KScreen::Output's current
mode is empty. In this case, it's logical and necessary to fall back to
the output's preferred mode, instead of passing essentially
QString().toInt() as mode id into xcb_randr_set_crtc_config().
In the current code, kscreenOuput->currentMode()->size() can crash, this
is fixed with this patch as well.
This change makes enabling a VGA monitor to my docking station more reliable.