Commit 1e9929a5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Using no deprecated enum Qt::MiddleButton

parent 39f7171d
......@@ -165,7 +165,7 @@ bool KCheckAccelerators::eventFilter(QObject *obj, QEvent *e)
//case QEvent::MouseButtonDblClick:
case QEvent::MouseButtonPress:
if (copyWidgetText && static_cast<QMouseEvent *>(e)->button() == Qt::MidButton) {
if (copyWidgetText && static_cast<QMouseEvent *>(e)->button() == Qt::MiddleButton) {
QWidget *w = static_cast<QWidget *>(obj)->childAt(static_cast<QMouseEvent *>(e)->pos());
if (!w) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment