On Wednesday 14 October 2015 22:56:15 André Pönitz wrote:
> > I think there’s actually quite a few of those. In addition, it might be
> > tricky to use QStringView in signals and slots.
> 
> One could try to be clever and go through an intermediate QString
> object at least in queued connections. Or even always. 

-2 on any signal-slot special-casing for some types.

It's possible that the string in question *is* retained and there's no need to 
copy. We can't know that in QObject::activate, so we shouldn't try.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to