silence warnings
This commit is contained in:
parent
e623c22da8
commit
dc6f962292
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,7 @@ MonTabWidget::MonTabWidget(Project *project, QWidget *parent) : QTabWidget(paren
|
|||
installEventFilter(this);
|
||||
}
|
||||
|
||||
bool MonTabWidget::eventFilter(QObject *object, QEvent *event) {
|
||||
bool MonTabWidget::eventFilter(QObject *, QEvent *event) {
|
||||
// Press right mouse button to activate tab.
|
||||
if (event->type() == QEvent::MouseButtonPress
|
||||
&& static_cast<QMouseEvent *>(event)->button() == Qt::RightButton) {
|
||||
|
@ -18,6 +18,7 @@ bool MonTabWidget::eventFilter(QObject *object, QEvent *event) {
|
|||
askActivateTab(tabIndex, eventPos);
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
void MonTabWidget::populate() {
|
||||
|
|
Loading…
Reference in a new issue