config-tool: small seg fault in Qt5 fix