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 }