diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-27 18:52:22 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-01 03:05:00 +0300 |
commit | af7e365b1516d660d271475fdfe0c20ae09e66a8 (patch) | |
tree | 8d1f0753a3f2ec81a450db2e022021af87e506ae /src/qt/guiutil.h | |
parent | e658b0e49bee257e197dd8ca37ee3ffa73092d92 (diff) |
qt: Make PACKAGE_BUGREPORT link clickable
Co-authored-by: Russell Yanofsky <russ@yanofsky.org>
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r-- | src/qt/guiutil.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h index 6395ec6abd..6ab0a71a96 100644 --- a/src/qt/guiutil.h +++ b/src/qt/guiutil.h @@ -327,6 +327,11 @@ namespace GUIUtil QObject::connect(&source, &QObject::destroyed, object, std::forward<Fn>(function), connection); } + /** + * Replaces a plain text link with an HTML tagged one. + */ + QString MakeHtmlLink(const QString& source, const QString& link); + } // namespace GUIUtil #endif // BITCOIN_QT_GUIUTIL_H |