diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-06 21:56:14 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-06 21:56:14 +0200 |
commit | 03fad5ebe86309cf22732ec9b8d3caf3da63f7b9 (patch) | |
tree | c35c267bb682277c30e491f1e1138c27048ac350 /src/yuzu/main.cpp | |
parent | Merge pull request #4039 from FearlessTobi/port-5376 (diff) | |
download | yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar.gz yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar.bz2 yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar.lz yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar.xz yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.tar.zst yuzu-03fad5ebe86309cf22732ec9b8d3caf3da63f7b9.zip |
Diffstat (limited to '')
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index 270cccc77..4119d7907 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -689,10 +689,7 @@ void GMainWindow::InitializeHotkeys() { Settings::values.use_frame_limit = !Settings::values.use_frame_limit; UpdateStatusBar(); }); - // TODO: Remove this comment/static whenever the next major release of - // MSVC occurs and we make it a requirement (see: - // https://developercommunity.visualstudio.com/content/problem/93922/constexprs-are-trying-to-be-captured-in-lambda-fun.html) - static constexpr u16 SPEED_LIMIT_STEP = 5; + constexpr u16 SPEED_LIMIT_STEP = 5; connect(hotkey_registry.GetHotkey(main_window, QStringLiteral("Increase Speed Limit"), this), &QShortcut::activated, this, [&] { if (Settings::values.frame_limit < 9999 - SPEED_LIMIT_STEP) { |