mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
WebView: Disable setForceContextMenuOnMouseRelease on Windows
Windows open context menu on mouse release by default.
This commit is contained in:
parent
fd9af37dc5
commit
dd30a1bc72
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user