def unregisterView(viewType, location='Central'):
        """
        Unregisteres the given view type from the inputed location.
        
        :param      viewType | <subclass of XView>
        """
        XView._registry.get(location, {}).pop(viewType.viewName(), None)
        XView.dispatch(location).emit('unregisteredView(QVariant)', viewType)