mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Simplify qstr function
This commit is contained in:
parent
844e09c40e
commit
ae156801df
15 changed files with 15 additions and 15 deletions
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include "Emu/RSX/CgBinaryProgram.h"
|
||||
|
||||
inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(), static_cast<int>(_in.size())); }
|
||||
constexpr auto qstr = QString::fromStdString;
|
||||
inline std::string sstr(const QString& _in) { return _in.toUtf8().toStdString(); }
|
||||
|
||||
cg_disasm_window::cg_disasm_window(std::shared_ptr<gui_settings> xSettings, QWidget* parent): QWidget(parent), xgui_settings(xSettings)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue