oops, it seems that MidButton is a better choice...

This commit is contained in:
Andrea Decorte 2011-04-02 18:15:20 +00:00
parent d29aa81a3b
commit e57d988f5d

View File

@ -96,7 +96,7 @@ void PlaylistTabBar::mouseDoubleClickEvent(QMouseEvent *e) {
int index = tabAt(e->pos());
//discard a double click with the middle button
if (e->button() != Qt::MiddleButton) {
if (e->button() != Qt::MidButton) {
if (index == -1) {
new_->activate(QAction::Trigger);
}