change around qDebug() usage to get rid of warnings