Fixed version comparation
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
parent
cf4c1605eb
commit
811c79423f
@ -101,7 +101,7 @@ QString unescape(QString orig)
|
|||||||
QString unquete(QString str)
|
QString unquete(QString str)
|
||||||
{
|
{
|
||||||
if ((str.contains(QChar(';')) || str.contains(QChar('=')) || str.contains(QChar(','))) && str.endsWith("\"") && str.startsWith("\"")) {
|
if ((str.contains(QChar(';')) || str.contains(QChar('=')) || str.contains(QChar(','))) && str.endsWith("\"") && str.startsWith("\"")) {
|
||||||
#if QT_VERSION <= QT_VERSION_CHECK(6, 0, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 5, 0)
|
||||||
str = str.remove(0, 1);
|
str = str.remove(0, 1);
|
||||||
str = str.remove(str.size() - 1, 1);
|
str = str.remove(str.size() - 1, 1);
|
||||||
#else
|
#else
|
||||||
|
Loading…
Reference in New Issue
Block a user