> From: development-bounces+kai.koehne=digia....@qt-project.org 
> [development-bounces+kai.koehne=digia.com@qt-
> 
> Hi,
>
> how about omitting quotes automatically for anything else but Q[C]Debug?

I've some sympathy for this, since the quoting is more often than not unwanted, 
IMO. But anyhow, I'd stay away from changing the semantics here, at least for 
QString. It's just breaking the formatting of too much code out there, for 
little gain.

> The common problem seems to me that warning messages automatically get
> quotes which looks semi-professional:
>
> qWarning() << "Cannot open:" << file.name() << ": " << file.errorString();
>
> typically results in:
>
>Cannot open: "foo.txt" : "No such file"

Actually it results in two spaces 
>
> It is also conceivable to use quotes only for empty strings in
>qWarning/qCritical/qFatal.

Different behavior for qDebug vs the rest? That does sound hacky too ...

Regards

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

Reply via email to