Fix minor EBN issues

Authored by yurchor on Aug 18 2018, 7:51 AM.

Description

Fix minor EBN issues

Details

Auditors
muhlenpfordt
Committed
yurchorAug 18 2018, 7:51 AM
Parents
R260:4de1b3c553d3: GIT_SILENT made messages (after extraction)
Branches
Unknown
Tags
Unknown
muhlenpfordt raised a concern with this commit.Aug 18 2018, 5:04 PM
muhlenpfordt added a project: Gwenview.
muhlenpfordt added a subscriber: muhlenpfordt.

I can't compile the master branch anymore and Jenkins failed too.

/tests/auto/contextmanagertest.cpp
67
contextmanagertest.cpp:67:23: error: invalid user-defined conversion from ‘char’ to ‘const QString&’ [-fpermissive]
78
contextmanagertest.cpp:78:23: error: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
This commit now has outstanding concerns.Aug 18 2018, 5:04 PM

Should be fixed now. Sorry for breaking things.

muhlenpfordt accepted this commit.Aug 19 2018, 8:08 AM

Thanks for fixing. Compiler is happy again.
I read about some special comments for Krazy to ignore this. Should we add this here or use another way, e.g. QStringLiteral?

All concerns with this commit have now been addressed.Aug 19 2018, 8:08 AM

Might be so. At least, other developers do this through QStringLiteral. Or it can be ignored...