Fix inverted capture-by-default setting

This commit is contained in:
Cameron Gutman
2020-04-25 15:41:45 -07:00
parent 68acf969f2
commit f926ad9b5e

View File

@@ -1131,7 +1131,7 @@ void Session::exec(int displayOriginX, int displayOriginY)
// Capture the mouse in relative mode by default on release builds only.
// This prevents the mouse from becoming trapped inside Moonlight when
// it's halted at a debug break.
#ifndef QT_DEBUG
#ifdef QT_DEBUG
if (prefs.absoluteMouseMode)
#endif
{