| 27 | |
| 28 | struct Settings : QSettings { Settings(QObject* parent = nullptr) : QSettings(CONFIG_FILE, QSettings::IniFormat, parent) {} }; |
| 29 | struct QTextFile : QFile { QTextFile(QString name, QIODevice::OpenMode mode) : QFile(name) { open(mode | QIODevice::Text); } }; |
| 30 | struct Localizer { Localizer() { Localize(); } }; |
| 31 | inline std::wstring S(const QString& s) { return { s.toStdWString() }; } |
| 32 | inline QString S(const std::string& s) { return QString::fromStdString(s); } |
nothing calls this directly
no outgoing calls
no test coverage detected