qtcollider: QDialog: fix and improve passing paths to result handler