Remove unneeded debugging messages.

Changed some qDebugs to qWarnings, too. These should go into a
log eventually.

Change-Id: I0593b435021b2a31c68807a4cd4cb655740029f1
Merge topic 'remove-debug' into master

e5b18f90 Remove unneeded debugging messages.