0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 05:08:56 +00:00
termux-packages/x11-packages/kf6-kwidgetsaddons/src-kpassworddialog.cpp.patch
2024-07-01 19:36:30 +00:00

14 lines
844 B
Diff

diff -uNr kwidgetsaddons-5.99.0/src/kpassworddialog.cpp kwidgetsaddons-5.99.0.mod/src/kpassworddialog.cpp
--- kwidgetsaddons-5.99.0/src/kpassworddialog.cpp 2022-10-01 22:25:53.000000000 +0800
+++ kwidgetsaddons-5.99.0.mod/src/kpassworddialog.cpp 2022-11-12 17:41:35.738158340 +0800
@@ -78,7 +78,9 @@
ui.userEditContextHelpButton->setIcon(QIcon::fromTheme(QStringLiteral("help-contextual")));
ui.userEditContextHelpButton->setText(QString());
const QString description = QApplication::translate("KPasswordDialog", "Show Contextual Help");
+#ifndef QT_NO_ACCESSIBILITY
ui.userEditContextHelpButton->setAccessibleName(description);
+#endif
ui.userEditContextHelpButton->setToolTip(description);
QObject::connect(ui.userEditContextHelpButton, &QPushButton::released, q, [this] {
QEvent ev(QEvent::WhatsThis);