More usage of QLineEdit instead of KLineEdit and couple of null-pointer fixes.

Authored by asemke on Oct 2 2017, 8:13 AM.