1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Enable ScreenCaptureEnabled only for QtWE 5.13.2+

Similar to:
a733fa9fd0

Maybe we should also take the same approach and reject instead of
disabling the feature.

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2021-04-05 18:26:25 +02:00
parent f7b372098e
commit 64f85f5e89
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -123,6 +123,9 @@ Preferences::Preferences(BrowserWindow* window)
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0) #if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 0)
ui->intPDFViewer->setVisible(false); ui->intPDFViewer->setVisible(false);
#endif
#if QTWEBENGINEWIDGETS_VERSION < QT_VERSION_CHECK(5, 13, 2)
ui->screenCaptureEnabled->setVisible(false); ui->screenCaptureEnabled->setVisible(false);
#endif #endif