From 1abf749f034d72bab77e6fb2d2aff559bc4c6246 Mon Sep 17 00:00:00 2001 From: Capostrophic Date: Thu, 14 Jun 2018 22:08:53 +0300 Subject: [PATCH] Remove screenshot taken message --- apps/openmw/mwinput/inputmanagerimp.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/apps/openmw/mwinput/inputmanagerimp.cpp b/apps/openmw/mwinput/inputmanagerimp.cpp index 9fe9026ca..242058c5f 100644 --- a/apps/openmw/mwinput/inputmanagerimp.cpp +++ b/apps/openmw/mwinput/inputmanagerimp.cpp @@ -1036,7 +1036,6 @@ namespace MWInput void InputManager::screenshot() { bool regularScreenshot = true; - bool screenshotTaken = false; std::string settingStr; @@ -1047,7 +1046,6 @@ namespace MWInput { mScreenCaptureHandler->setFramesToCapture(1); mScreenCaptureHandler->captureNextFrame(*mViewer); - screenshotTaken = true; } else { @@ -1057,12 +1055,8 @@ namespace MWInput { (*mScreenCaptureOperation) (*(screenshot.get()),0); // FIXME: mScreenCaptureHandler->getCaptureOperation() causes crash for some reason - screenshotTaken = true; } } - - if (screenshotTaken) - MWBase::Environment::get().getWindowManager()->messageBox("Screenshot saved"); } void InputManager::toggleInventory()