Fixed version comparation

Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
This commit is contained in:
Trial97 2023-06-15 00:43:05 +03:00
parent cf4c1605eb
commit 811c79423f
No known key found for this signature in database
GPG Key ID: 55EF5DA53DB36318

View File

@ -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