Removed debug message, fixed QObject.