mirror of
https://github.com/kiwix/kiwix-desktop.git
synced 2025-09-25 05:48:54 -04:00
Merge pull request #306 from kiwix/remove-inspect-source
Remove view source from context menu
This commit is contained in:
commit
71c4db2dd6
@ -9,6 +9,8 @@
|
||||
WebPage::WebPage(QObject *parent) :
|
||||
QWebEnginePage(parent)
|
||||
{
|
||||
action(QWebEnginePage::SavePage)->setVisible(false);
|
||||
action(QWebEnginePage::ViewSource)->setVisible(false);
|
||||
connect(QWebEngineProfile::defaultProfile(), &QWebEngineProfile::downloadRequested, this, &WebPage::startDownload);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user