Skip to content

Commit

Permalink
Another Qt 4.6 build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Tvangeste committed Jul 17, 2013
1 parent 4980ffc commit 0db2ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion maintabwidget.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0db2ae6

Please sign in to comment.