Switch to side-by-side view
--- a/src/qtgui/recoll.h +++ b/src/qtgui/recoll.h @@ -50,6 +50,10 @@ { return std::string((const char *)qs.toUtf8()); } +inline std::string qs2u8s(const QString& qs) +{ + return std::string((const char *)qs.toUtf8()); +} inline QString u8s2qs(const std::string us) { return QString::fromUtf8(us.c_str());