Switched ConnectionConfig to QString from std::string to fit better into Qt framework
This commit is contained in:
parent
bcfd82c27d
commit
082293e58a
20 changed files with 1077 additions and 211 deletions
|
|
@ -19,7 +19,8 @@ inline QString stdStrToQ(const std::string &s)
|
|||
|
||||
inline std::string qStrToStd(const QString &s)
|
||||
{
|
||||
return std::string(s.toUtf8().data());
|
||||
auto ba = s.toUtf8();
|
||||
return std::string(ba.data(), ba.size());
|
||||
}
|
||||
|
||||
inline std::string qvarToStdStr(const QVariant &c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue