A few more c style casts -> static_casts

This commit is contained in:
Kurt Hindenburg
2012-12-24 09:55:58 -05:00
parent b8c7320e14
commit 9e25784d6d
2 changed files with 2 additions and 2 deletions

View File

@@ -114,7 +114,7 @@ bool KeyBindingEditor::eventFilter(QObject* watched , QEvent* event)
{
if (watched == _ui->testAreaInputEdit) {
if (event->type() == QEvent::KeyPress) {
QKeyEvent* keyEvent = (QKeyEvent*)event;
QKeyEvent* keyEvent = static_cast<QKeyEvent*>(event);
// The state here is currently set to the state that a newly started
// terminal in Konsole will be in ( which is also the same as the