Commit a310e16f authored by Ingo Klöcker's avatar Ingo Klöcker Committed by Ingo Klöcker
Browse files

Use case-insensitive string matching to find curve

By default, case-sensitive QVariant-based matching is performed by

GnuPG-bug-id: 5717
parent c2fc9f66
......@@ -211,7 +211,7 @@ static void set_curve(QComboBox *cb, const QString &curve)
if (!cb) {
const int idx = cb->findText(curve);
const int idx = cb->findText(curve, Qt::MatchFixedString);
if (idx < 0) {
// Can't happen as we don't have them configurable.
qCWarning(KLEOPATRA_LOG) << "curve " << curve << " not allowed";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment