diff options
author | Gerald Combs <gerald@wireshark.org> | 2018-01-31 12:03:49 -0800 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2018-02-01 18:11:22 +0000 |
commit | 142c03516ec93948ad30191730ace09baa57aa8d (patch) | |
tree | 3df285de9061ca052eadaa1f734f62ae1618a7a6 /ui/qt/about_dialog.h | |
parent | d1b1575f6d1e0f922aead77b2933f9be55d1107b (diff) |
Qt: Show Lua scripts as links in the about box.
Add UrlLinkDelegate::setColCheck, which lets you render strings as URLs
or plain text according to a regex. Use it to show Lua scripts as URLs
in the about box.
Open links on double clicks and add column checks.
Change-Id: Iaf5cd8a46a0b66a7d45079ba045ed2bbcb0ed005
Reviewed-on: https://code.wireshark.org/review/25542
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/qt/about_dialog.h')
-rw-r--r-- | ui/qt/about_dialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/qt/about_dialog.h b/ui/qt/about_dialog.h index 353926bc77..ec1f2450cd 100644 --- a/ui/qt/about_dialog.h +++ b/ui/qt/about_dialog.h @@ -93,7 +93,7 @@ private: Ui::AboutDialog *ui; private slots: - void urlClicked(const QModelIndex &); + void urlDoubleClicked(const QModelIndex &); void handleCopyMenu(QPoint); void copyActionTriggered(bool row = false); void copyRowActionTriggered(); |