remove save page option from context menu

This commit is contained in:
luddens 2019-11-21 16:01:50 +02:00
parent 20494b5f97
commit af46035d58

View File

@ -9,6 +9,7 @@
WebPage::WebPage(QObject *parent) :
QWebEnginePage(parent)
{
action(QWebEnginePage::SavePage)->setVisible(false);
connect(QWebEngineProfile::defaultProfile(), &QWebEngineProfile::downloadRequested, this, &WebPage::startDownload);
}