Qt::MidButton is deprecated. Use Qt::MiddleButton instead.

This commit is contained in:
Mateusz Skowroński
2021-04-04 08:59:24 +02:00
committed by wwmayer
parent d4acb6e489
commit 5032a8e31f
4 changed files with 6 additions and 6 deletions

View File

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