Simplify qstr function

This commit is contained in:
scribam 2017-08-11 21:35:53 +02:00 committed by Ivan
parent 844e09c40e
commit ae156801df
15 changed files with 15 additions and 15 deletions

View file

@ -5,7 +5,7 @@
#include <QScreen>
#include <QThread>
inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(), _in.size()); }
constexpr auto qstr = QString::fromStdString;
void msg_dialog_frame::Create(const std::string& msg)
{