@@ -48,7 +48,6 @@ QtObject {
4848
4949 function onKeyPressed(key) {
5050 if (key == Qt.Key_PowerDown || key == Qt.Key_PowerOff) {
51− console.log("JOSH: Pressed power key");
5251 powerKeyPressed = true;
5352 }
5453 else if (key == Qt.Key_VolumeDown) {
@@ -65,11 +64,11 @@ QtObject {
6564 aVolumeKeyWasReleased = false;
6665 }
6766 else if (volumeDownKeyPressed) {
68− console.log("JOSH: VolumeDown!");
6967 if (powerKeyPressed) {
70− console.log("JOSH: TAKE A SCREENSHOT");
68+ screenshotPressed();
69+ } else {
70+ volumeDownPressed();
7171 }
72− volumeDownPressed();
7372 }
7473 else if (volumeUpKeyPressed) {
7574 volumeUpPressed();