Skip to content

Commit

Permalink
Remove dead code left over from the QT3 => QT4 transition period.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Aug 23, 2011
1 parent 77d0b59 commit 06b35b3
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions mythtv/libs/libmyth/uitypes.cpp
Expand Up @@ -3699,13 +3699,8 @@ void UIKeyboardType::insertChar(QString c)
}
else
{
#ifdef QT3_SUPPORT
QKeyEvent *key = new QKeyEvent(QEvent::KeyPress, 0, 0, 0, c, false,
c.length());
#else // if !QT3_SUPPORT
QKeyEvent *key = new QKeyEvent(QEvent::KeyPress, 0, Qt::NoModifier,
c, false, c.length());
#endif //!QT3_SUPPORT
QCoreApplication::postEvent(m_parentEdit, key);
}
}
Expand All @@ -3732,16 +3727,10 @@ void UIKeyboardType::insertChar(QString c)
}
else
{
#ifdef QT3_SUPPORT
QKeyEvent *key = new QKeyEvent(QEvent::KeyPress, 0, 0,
0, comps[i][2], false,
comps[i][2].length());
#else // if !QT3_SUPPORT
QKeyEvent *key = new QKeyEvent(QEvent::KeyPress, 0,
Qt::NoModifier,
comps[i][2], false,
comps[i][2].length());
#endif // !QT3_SUPPORT
QCoreApplication::postEvent(m_parentEdit, key);
}

Expand Down

0 comments on commit 06b35b3

Please sign in to comment.