can navigate urls
This commit is contained in:
parent
cd1f44ba77
commit
fe47c2d417
2 changed files with 10 additions and 5 deletions
11
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
11
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -7,9 +7,10 @@ body:
|
|||
- type: markdown
|
||||
attributes:
|
||||
value: |
|
||||
Dear RSS Guard contributor, please RESPECT this template. You might be interested in reading [www.chiark.greenend.org.uk](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html).
|
||||
Also, ALWAYS, ALWAYS, ALWAYS attach DEBUG LOG to your bug report!!!
|
||||
Dear RSS Guard contributor, ALWAYS, ALWAYS, ALWAYS attach DEBUG LOG to your bug report!!!
|
||||
How to generate it see [here](https://github.com/martinrotter/rssguard/blob/master/resources/docs/Documentation.md#reprt).
|
||||
|
||||
Please, RESPECT this template. You might be interested in reading [www.chiark.greenend.org.uk](http://www.chiark.greenend.org.uk/~sgtatham/bugs.html).
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Brief description of the issue
|
||||
|
@ -39,10 +40,10 @@ body:
|
|||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Other information
|
||||
description: Write any other supplementary information here.
|
||||
label: Debug log
|
||||
description: Paste debug log contents here.
|
||||
validations:
|
||||
required: false
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Operating system and version
|
||||
|
|
|
@ -22,6 +22,8 @@ LiteHtmlViewer::LiteHtmlViewer(QWidget* parent) : QLiteHtmlWidget(parent) {
|
|||
return handleResource(url);
|
||||
});
|
||||
|
||||
connect(this, &LiteHtmlViewer::linkClicked, this, &LiteHtmlViewer::setUrl);
|
||||
|
||||
connect(this, &LiteHtmlViewer::copyAvailable, this, [this](bool available) {
|
||||
if (!available) {
|
||||
return;
|
||||
|
@ -79,6 +81,8 @@ void LiteHtmlViewer::setUrl(const QUrl& url) {
|
|||
|
||||
if (qApp->web()->adBlock()->block(block_request).m_blocked) {
|
||||
qWarningNN << LOGSEC_ADBLOCK << "Blocked request:" << QUOTE_W_SPACE_DOT(block_request.requestUrl().toString());
|
||||
|
||||
// TODO: Display "site blocked" error.
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue