mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
9ccfff69d9
The file currently contains function `qS(...)` which is an alias for `QString::fromStdString(...)`
15 lines
197 B
C++
15 lines
197 B
C++
#pragma once
|
|
|
|
#include <QString>
|
|
|
|
#include <string>
|
|
|
|
namespace chatterino {
|
|
|
|
inline QString qS(const std::string &string)
|
|
{
|
|
return QString::fromStdString(string);
|
|
}
|
|
|
|
} // namespace chatterino
|