mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
6d0cab3743
Avoids needing to iterate and append the characters in one case. This also alters the function to not need to construct a temporary std::string (QString's toUtf8() is sufficient, as QByteArray exposes iterators). toStdString() is equivalent to retrieving the QString's underlying QByteArray via calling QString's .toUtf8 member function and then calling .toStdString() on the result of it (discarding the QByteArray afterwords), so this just trims off an unnecessary step in the process. This is also somewhat more indicative of the conversions going on: toStdString() converts the underlying character sequence of a QString to UTF-8, not strict ASCII, so we're really using a superset of ASCII. |
||
---|---|---|
.. | ||
BreakpointWidget.cpp | ||
BreakpointWidget.h | ||
CodeViewWidget.cpp | ||
CodeViewWidget.h | ||
CodeWidget.cpp | ||
CodeWidget.h | ||
MemoryViewWidget.cpp | ||
MemoryViewWidget.h | ||
MemoryWidget.cpp | ||
MemoryWidget.h | ||
NewBreakpointDialog.cpp | ||
NewBreakpointDialog.h | ||
RegisterColumn.cpp | ||
RegisterColumn.h | ||
RegisterWidget.cpp | ||
RegisterWidget.h | ||
WatchWidget.cpp | ||
WatchWidget.h |