Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 494814 Details for
Bug 629560
sci-geosciences/gpsbabel-1.5.4-r1 with Qt-5.9: error: call of overloaded 'compare(const char [...], Qt::CaseSensitivity)' is ambiguous
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for tef_xml.cc
qt591.patch (text/plain), 3.03 KB, created by
Markus
on 2017-09-17 11:42:32 UTC
(
hide
)
Description:
patch for tef_xml.cc
Filename:
MIME Type:
Creator:
Markus
Created:
2017-09-17 11:42:32 UTC
Size:
3.03 KB
patch
obsolete
>diff -Nur gpsbabel-1.5.4.orig/tef_xml.cc gpsbabel-1.5.4/tef_xml.cc >--- gpsbabel-1.5.4.orig/tef_xml.cc 2017-09-17 13:35:22.000000000 +0200 >+++ gpsbabel-1.5.4/tef_xml.cc 2017-09-17 13:37:33.000000000 +0200 >@@ -72,11 +72,11 @@ > bool valid = false; > > foreach(QXmlStreamAttribute attr, *attrv) { >- if (attr.name().compare("Comment", Qt::CaseInsensitive) == 0) { >- if (attr.value().compare("TourExchangeFormat", Qt::CaseInsensitive) == 0) { >+ if (attr.name().compare(QStringLiteral("Comment"), Qt::CaseInsensitive) == 0) { >+ if (attr.value().compare(QStringLiteral("TourExchangeFormat"), Qt::CaseInsensitive) == 0) { > valid = true; > } >- } else if (attr.name().compare("Version", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("Version"), Qt::CaseInsensitive) == 0) { > version = attr.value().toString().toDouble(); > } > } >@@ -95,9 +95,9 @@ > { > route = route_head_alloc(); > foreach(QXmlStreamAttribute attr, *attrv) { >- if (attr.name().compare("Name", Qt::CaseInsensitive) == 0) { >+ if (attr.name().compare(QStringLiteral("Name"), Qt::CaseInsensitive) == 0) { > route->rte_name = attr.value().toString().trimmed(); >- } else if (attr.name().compare("Software", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("Software"), Qt::CaseInsensitive) == 0) { > route->rte_desc = attr.value().toString().trimmed(); > } > } >@@ -248,20 +248,20 @@ > QString attrstr = attr.value().toString(); > QByteArray attrtext = attrstr.toUtf8(); > >- if (attr.name().compare("SegDescription", Qt::CaseInsensitive) == 0) { >+ if (attr.name().compare(QStringLiteral("SegDescription"), Qt::CaseInsensitive) == 0) { > wpt_tmp->shortname = attrstr.trimmed(); >- } else if (attr.name().compare("PointDescription", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("PointDescription"), Qt::CaseInsensitive) == 0) { > wpt_tmp->description = attrstr.trimmed(); >- } else if (attr.name().compare("ViaStation", Qt::CaseInsensitive) == 0 && >- attr.value().compare("true", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("ViaStation"), Qt::CaseInsensitive) == 0 && >+ attr.value().compare(QStringLiteral("true"), Qt::CaseInsensitive) == 0) { > wpt_tmp->wpt_flags.fmt_use = 1; /* only a flag */ > > /* new in TEF V2 */ >- } else if (attr.name().compare("Instruction", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("Instruction"), Qt::CaseInsensitive) == 0) { > wpt_tmp->description = attrstr.trimmed(); >- } else if (attr.name().compare("Altitude", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("Altitude"), Qt::CaseInsensitive) == 0) { > wpt_tmp->altitude = attrstr.toDouble(); >- } else if (attr.name().compare("TimeStamp", Qt::CaseInsensitive) == 0) { >+ } else if (attr.name().compare(QStringLiteral("TimeStamp"), Qt::CaseInsensitive) == 0) { > /* nothing for the moment */ > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 629560
: 494814