Ticket #5840: cast.diff

File cast.diff, 1.0 KB (added by pebender@…, 11 years ago)
  • mythtv/programs/mythfrontend/playbackbox.cpp

     
    42764276    // This should be an impossible keypress we've simulated
    42774277    if ((e->key() == Qt::Key_LaunchMedia) &&
    42784278        (e->state() == (Qt::ButtonState)
    4279          (Qt::MouseButtonMask | Qt::KeyButtonMask)))
     4279         ((int)Qt::MouseButtonMask | (int)Qt::KeyboardModifierMask)))
    42804280    {
    42814281        e->accept();
    42824282        ncLock.lock();
     
    44394439                // This should be an impossible keypress we're simulating
    44404440                QKeyEvent *event;
    44414441                int buttons =
    4442                         (Qt::MouseButtonMask | Qt::KeyButtonMask);
     4442                        ((int)Qt::MouseButtonMask | (int)Qt::KeyboardModifierMask);
    44434443
    44444444                event = new QKeyEvent(QEvent::KeyPress, Qt::Key_LaunchMedia,
    44454445                                      0, buttons);