oops, it seems that MidButton is a better choice...
This commit is contained in:
parent
d29aa81a3b
commit
e57d988f5d
@ -96,7 +96,7 @@ void PlaylistTabBar::mouseDoubleClickEvent(QMouseEvent *e) {
|
|||||||
int index = tabAt(e->pos());
|
int index = tabAt(e->pos());
|
||||||
|
|
||||||
//discard a double click with the middle button
|
//discard a double click with the middle button
|
||||||
if (e->button() != Qt::MiddleButton) {
|
if (e->button() != Qt::MidButton) {
|
||||||
if (index == -1) {
|
if (index == -1) {
|
||||||
new_->activate(QAction::Trigger);
|
new_->activate(QAction::Trigger);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user