aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index ad7e893..4cbf752 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -1307,9 +1307,8 @@ namespace QuickMedia {
cursor_visible = false;
window.setMouseCursorVisible(false);
}
- } else {
- std::this_thread::sleep_for(std::chrono::milliseconds(50));
}
+ std::this_thread::sleep_for(std::chrono::milliseconds(50));
}
window.setMouseCursorVisible(true);