Project

General

Profile

Documentation #3989

Developer Coding Standards Page std::string for Qt5

Added by Ian Humphrey over 2 years ago. Updated about 1 year ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
API
Target version:
-
Impact:

No expected impact -- Changes to website documentation won't affect functionality.

Software Version:
Test Reviewer:

Description

Note: This ticket should be fixed when Qt5 is rolled out into trunk, not any earlier

On the Developer Coding Standards Page in the std::string section, the last sentence

If you need to convert to a const char *, you can also use QString().toAscii().data().

needs to be changed when Qt5 is rolled out into trunk.

Instead of QString().toAscii().data(), it should be QString().toLatin1().data() (since toAscii() is deprecated in Qt5).

History

#1 Updated by Stuart Sides about 1 year ago

  • Status changed from Acknowledged to Assigned
  • Assignee set to Adam Goins

#2 Updated by Adam Goins about 1 year ago

  • Status changed from Assigned to In Progress

#3 Updated by Adam Goins about 1 year ago

  • Impact updated (diff)

#4 Updated by Adam Goins about 1 year ago

  • Status changed from In Progress to Rejected

Also available in: Atom PDF