~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to programs/mythfrontend/keygrabber.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello, Mario Limonciello, John Baab
  • Date: 2009-09-29 01:33:23 UTC
  • mfrom: (1.1.35 upstream)
  • Revision ID: james.westby@ubuntu.com-20090929013323-6pvn8encm757zbxw
Tags: 0.22.0~trunk22101-0ubuntu1
[ Mario Limonciello ]
* New upstream checkout (r22101)
* Try to guard and make sure that ~mythtv is read from /etc/passwd 
  rather than assuming it's /home/mythtv.

[ John Baab ]
* debian/mythtv-common.postinst:
  - Added symlink for /home/mythtv/.mythtv/config.xml

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
    : MythScreenType (parent, "keygrabberdialog")
17
17
{
18
18
    m_waitingForKeyRelease = m_keyReleaseSeen = false;
19
 
    m_capturedKey = QString::null;
20
19
    m_okButton = m_cancelButton = NULL;
21
20
    m_messageText = NULL;
22
21
}
67
66
 
68
67
bool KeyGrabPopupBox::keyPressEvent(QKeyEvent *event)
69
68
{
70
 
    // If no capturing has occured yet, then start waiting for key release
 
69
    // If no capturing has occurred yet, then start waiting for key release
71
70
    m_waitingForKeyRelease |= !m_keyReleaseSeen;
72
71
 
73
72
    bool handled = false;