From 710bab543934c80e067ee6aac6557c2df5e7af7e Mon Sep 17 00:00:00 2001 From: Pedro Macedo Date: Thu, 11 Jul 2024 21:17:58 -0300 Subject: [PATCH] X1Mouse event --- src/gui/input.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gui/input.cpp b/src/gui/input.cpp index e8ed732fb..127a85b96 100644 --- a/src/gui/input.cpp +++ b/src/gui/input.cpp @@ -79,6 +79,12 @@ static QVariant GetButtonName( case Qt::NoButton: return QLatin1String{""}; + case Qt::XButton1: + return QStringLiteral("X1"); + + case Qt::XButton2: + return QStringLiteral("X2"); + default: return {}; // Invalid }