Removed calls to qDebug()