Another Qt 4.6 build fix

This commit is contained in:
Tvangeste 2013-07-17 23:43:35 +02:00
parent 4980ffcbc0
commit 0db2ae6e57

View file

@ -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;