Skip to content

Commit

Permalink
namespace comment, double trigger bug
Browse files Browse the repository at this point in the history
  • Loading branch information
serdnab committed Nov 17, 2024
1 parent d99835d commit 3583923
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion include/TransportButton.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ class LMMS_EXPORT TransportButton : public AutomatableButton
void contextMenuEvent( QContextMenuEvent * _me ) override;
} ;

}
} // namespace lmms::gui

#endif // TRANSPORTBUTTON_H
6 changes: 1 addition & 5 deletions src/gui/widgets/TransportButton.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ TransportButton::TransportButton(QWidget * _parent, const QString & _name) :

void TransportButton::mousePressEvent(QMouseEvent * _me)
{
if (_me->button() == Qt::LeftButton)
{
toggle();
}
QPushButton::mousePressEvent(_me);
}

Expand Down Expand Up @@ -76,4 +72,4 @@ void TransportButton::contextMenuEvent(QContextMenuEvent * _me)
contextMenu.exec(QCursor::pos());
}

}
} // namespace lmms::gui

0 comments on commit 3583923

Please sign in to comment.