Move parsing of TriStateBool to a static class function

This commit is contained in:
Chocobo1 2020-12-31 14:01:48 +08:00
parent cfb55d9d77
commit e022c371ff
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
5 changed files with 18 additions and 17 deletions

View file

@ -37,8 +37,6 @@
class QStringRef;
class TriStateBool;
namespace Utils
{
namespace String
@ -69,7 +67,6 @@ namespace Utils
}
bool parseBool(const QString &string, bool defaultValue);
TriStateBool parseTriStateBool(const QString &string);
QString join(const QVector<QStringRef> &strings, const QString &separator);