qt gui: Implement location bar handling