0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 02:36:16 +00:00
termux-packages/disabled-packages/kwidgetsaddons/src-kpassworddialog.cpp.patch
2024-10-18 14:45:21 +03: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);