Replaced qDebug() message by QMessageBox.