Skip to content

Commit

Permalink
Cleaner compile warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
icefox committed Sep 9, 2009
1 parent 6a04c0f commit 79030f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modeltoolbar.cpp
Expand Up @@ -159,7 +159,7 @@ bool ModelToolBar::eventFilter(QObject *object, QEvent *event)
Q_ASSERT(this->index(action).isValid());
emit activated(index);
} else if (event->type() == QEvent::MouseButtonPress) {
Q_ASSERT(QToolButton *button = static_cast<QToolButton*>(object));
Q_ASSERT(static_cast<QToolButton*>(object));

QMouseEvent *mouseEvent = static_cast<QMouseEvent*>(event);

Expand Down

0 comments on commit 79030f9

Please sign in to comment.