Change !x.isEmpty() instead of x != QString("")

Authored by kossebau on Aug 17 2016, 1:49 AM.