qdict: Make conversion from QObject * accept null