diff --git a/src/dlgConnectionProfiles.cpp b/src/dlgConnectionProfiles.cpp index dd85b54f99a..92bdc2007b5 100644 --- a/src/dlgConnectionProfiles.cpp +++ b/src/dlgConnectionProfiles.cpp @@ -2411,11 +2411,11 @@ void dlgConnectionProfiles::slot_togglePasswordVisibility(const bool showPasswor // In practice I could not get the icon to change based upon supplying // different QPixmaps for the QIcon for different states - so lets do it // directly: - mpAction_revealPassword->setIcon(QPixmap(QStringLiteral(":/icons/layer-visible-on.png"))); + mpAction_revealPassword->setIcon(QIcon::fromTheme(QStringLiteral("password-show-on"), QIcon(QStringLiteral(":/icons/password-show-on.png")))); mpAction_revealPassword->setToolTip(tr("
Click to hide the password; it will also hide if another profile is selected.
")); } else { character_password_entry->setEchoMode(QLineEdit::Password); - mpAction_revealPassword->setIcon(QPixmap(QStringLiteral(":/icons/layer-visible-off-redlined.png"))); + mpAction_revealPassword->setIcon(QIcon::fromTheme(QStringLiteral("password-show-off"), QIcon(QStringLiteral(":/icons/password-show-off.png")))); mpAction_revealPassword->setToolTip(tr("Click to reveal the password for this profile.
")); } } diff --git a/src/icons/layer-visible-off-redlined.png b/src/icons/layer-visible-off-redlined.png deleted file mode 100644 index aaefafb03cb..00000000000 Binary files a/src/icons/layer-visible-off-redlined.png and /dev/null differ diff --git a/src/icons/layer-visible-on.png b/src/icons/layer-visible-on.png deleted file mode 100644 index 763b2d399d9..00000000000 Binary files a/src/icons/layer-visible-on.png and /dev/null differ diff --git a/src/icons/password-show-off.png b/src/icons/password-show-off.png new file mode 100644 index 00000000000..7a43411c816 Binary files /dev/null and b/src/icons/password-show-off.png differ diff --git a/src/icons/password-show-on.png b/src/icons/password-show-on.png new file mode 100644 index 00000000000..819024c2521 Binary files /dev/null and b/src/icons/password-show-on.png differ diff --git a/src/mudlet.qrc b/src/mudlet.qrc index 71118764b20..d1a67c9d398 100644 --- a/src/mudlet.qrc +++ b/src/mudlet.qrc @@ -107,8 +107,6 @@