mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Fixed comparing of active encoding
This commit is contained in:
parent
7a7422318a
commit
989fb92d4a
@ -410,7 +410,7 @@ void QupZilla::aboutToShowEncodingMenu()
|
||||
action->setData(name);
|
||||
action->setCheckable(true);
|
||||
connect(action, SIGNAL(triggered()), this, SLOT(changeEncoding()));
|
||||
if (activeCodec.contains(name, Qt::CaseInsensitive))
|
||||
if (activeCodec.compare(name, Qt::CaseInsensitive) == 0)
|
||||
action->setChecked(true);
|
||||
|
||||
if (name.startsWith("ISO"))
|
||||
|
Loading…
Reference in New Issue
Block a user