Use QString::empty instead of comparing to QString()

Authored by heikobecker on Nov 16 2017, 5:52 PM.