Ticket #5541: playbackbox.diff
| File playbackbox.diff, 814 bytes (added by , 18 years ago) |
|---|
-
playbackbox.cpp
4237 4237 if (ignoreKeyPressEvents) 4238 4238 return; 4239 4239 4240 // This should be an impossible keypress we've simulated 4241 if ((e->key() == Qt::Key_LaunchMedia) && 4242 (e->state() == (Qt::ButtonState) 4243 (Qt::MouseButtonMask | Qt::KeyButtonMask))) 4240 // This should be a keypress we've simulated 4241 if (e->key() == Qt::Key_LaunchMedia) 4244 4242 { 4245 4243 e->accept(); 4246 4244 ncLock.lock(); 4247 4245 int commands = networkControlCommands.size(); 4248 4246 ncLock.unlock(); 4249 4247 if (commands) 4248 { 4250 4249 processNetworkControlCommands(); 4251 return; 4250 return; 4251 } 4252 4252 } 4253 4253
