forked from qt-creator/qt-creator
Help: Replace Qt::MidButton by Qt::MiddleButton
Task-number: QTCREATORBUG-24098 Change-Id: I46e06ec1402be345ebd1e4543ed67a726caa42a7 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -216,7 +216,7 @@ bool SearchWidget::eventFilter(QObject *o, QEvent *e)
|
||||
if (!link.isEmpty() || link.isValid()) {
|
||||
bool controlPressed = me->modifiers() & Qt::ControlModifier;
|
||||
if ((me->button() == Qt::LeftButton && controlPressed)
|
||||
|| (me->button() == Qt::MidButton)) {
|
||||
|| (me->button() == Qt::MiddleButton)) {
|
||||
emit linkActivated(link, currentSearchTerms(), true/*newPage*/);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user