From e2dcaace93e3d81324cc04992baf062bb8ab72a3 Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sat, 14 Dec 2024 22:36:05 +0800 Subject: [PATCH] Make links accessible by keyboard --- src/gui/aboutdialog.ui | 3 +++ src/gui/addnewtorrentdialog.ui | 2 +- src/gui/optionsdialog.ui | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/gui/aboutdialog.ui b/src/gui/aboutdialog.ui index 67d583ba36c..68e2bf43b69 100644 --- a/src/gui/aboutdialog.ui +++ b/src/gui/aboutdialog.ui @@ -75,6 +75,9 @@ true + + Qt::TextInteractionFlag::LinksAccessibleByKeyboard|Qt::TextInteractionFlag::LinksAccessibleByMouse + diff --git a/src/gui/addnewtorrentdialog.ui b/src/gui/addnewtorrentdialog.ui index 71c3b141005..7e17af2d645 100644 --- a/src/gui/addnewtorrentdialog.ui +++ b/src/gui/addnewtorrentdialog.ui @@ -484,7 +484,7 @@ true - Qt::TextInteractionFlag::TextBrowserInteraction + Qt::TextInteractionFlag::TextSelectableByKeyboard|Qt::TextInteractionFlag::TextSelectableByMouse diff --git a/src/gui/optionsdialog.ui b/src/gui/optionsdialog.ui index 7b35d605276..a9944565a21 100644 --- a/src/gui/optionsdialog.ui +++ b/src/gui/optionsdialog.ui @@ -2750,6 +2750,9 @@ Disable encryption: Only connect to peers without protocol encryption true + + Qt::TextInteractionFlag::LinksAccessibleByKeyboard|Qt::TextInteractionFlag::LinksAccessibleByMouse + @@ -3496,6 +3499,9 @@ Specify an IPv4 or IPv6 address. You can specify "0.0.0.0" for any IPv true + + Qt::TextInteractionFlag::LinksAccessibleByKeyboard|Qt::TextInteractionFlag::LinksAccessibleByMouse + @@ -3819,6 +3825,9 @@ Use ';' to split multiple entries. Can use wildcard '*'. <html><head/><body><p><a href="https://github.com/qbittorrent/qBittorrent/wiki#reverse-proxy-setup-for-webui-access"><span style=" text-decoration: underline; color:#0000ff;">Reverse proxy setup examples</span></a></p></body></html> + + Qt::TextInteractionFlag::LinksAccessibleByKeyboard|Qt::TextInteractionFlag::LinksAccessibleByMouse +