1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

WebView: Disable setForceContextMenuOnMouseRelease on Windows

Windows open context menu on mouse release by default.
This commit is contained in:
David Rosca 2018-02-19 10:19:44 +01:00
parent fd9af37dc5
commit dd30a1bc72
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -286,7 +286,10 @@ bool WebView::forceContextMenuOnMouseRelease()
// static
void WebView::setForceContextMenuOnMouseRelease(bool force)
{
// Windows open context menu on mouse release by default
#ifndef Q_OS_WIN
s_forceContextMenuOnMouseRelease = force;
#endif
}
void WebView::addNotification(QWidget* notif)