Qt::MidButton is deprecated. Use Qt::MiddleButton instead.
This commit is contained in:
committed by
wwmayer
parent
d4acb6e489
commit
5032a8e31f
@@ -963,7 +963,7 @@ void PythonConsole::changeEvent(QEvent *e)
|
||||
|
||||
void PythonConsole::mouseReleaseEvent( QMouseEvent *e )
|
||||
{
|
||||
if (e->button() == Qt::MidButton && e->spontaneous())
|
||||
if (e->button() == Qt::MiddleButton && e->spontaneous())
|
||||
{
|
||||
// on Linux-like systems the middle mouse button is typically connected to a paste operation
|
||||
// which will insert some text at the mouse position
|
||||
|
||||
Reference in New Issue
Block a user