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:
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