From 4f5b6cadc5513f975f86397315de9fb62fb71e10 Mon Sep 17 00:00:00 2001 From: 9and3r <9and3r@gmail.com> Date: Tue, 26 May 2015 14:15:08 +0200 Subject: [PATCH] Q key not used to exit --- mopidy_touchscreen/touch_screen.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mopidy_touchscreen/touch_screen.py b/mopidy_touchscreen/touch_screen.py index 86e9fc1..d72ffcc 100644 --- a/mopidy_touchscreen/touch_screen.py +++ b/mopidy_touchscreen/touch_screen.py @@ -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)