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

@ -60,7 +60,7 @@ kernel_explorer::kernel_explorer(QWidget* parent) : QDialog(parent)
Update();
};
inline QString qstr(const std::string& _in) { return QString::fromUtf8(_in.data(), static_cast<int>(_in.size())); }
constexpr auto qstr = QString::fromStdString;
void kernel_explorer::Update()
{