From 0db2ae6e575f824745832f9b261ff51f8395b3ce Mon Sep 17 00:00:00 2001 From: Tvangeste Date: Wed, 17 Jul 2013 23:43:35 +0200 Subject: [PATCH] Another Qt 4.6 build fix --- maintabwidget.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maintabwidget.cc b/maintabwidget.cc index ffa2c6f44..91ead9a21 100644 --- a/maintabwidget.cc +++ b/maintabwidget.cc @@ -65,7 +65,7 @@ bool MainTabWidget::eventFilter( QObject * obj, QEvent * ev ) if( obj == tabBar() && ev->type() == QEvent::MouseButtonPress ) { QMouseEvent * mev = static_cast< QMouseEvent *>( ev ); - if( mev->button() == Qt::MiddleButton ) + if( mev->button() == Qt::MidButton ) { emit tabCloseRequested( tabBar()->tabAt( mev->pos() ) ); return true;