Q key not used to exit

This commit is contained in:
9and3r
2015-05-26 14:15:08 +02:00
parent 674b08607f
commit 4f5b6cadc5

View File

@@ -83,8 +83,6 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
for event in pygame.event.get():
if event.type == pygame.QUIT:
os.system("pkill mopidy")
elif event.type == pygame.KEYUP and event.key == pygame.K_q:
os.system("pkill mopidy")
elif event.type == pygame.VIDEORESIZE:
self.get_display_surface(event.size)
self.screen_manager.resize(event)