Make Throttle FPS If Not Focus be enabled by default

This commit is contained in:
David Rowe 2015-07-27 19:53:38 -07:00
parent 9783740b21
commit 8a7cdb1c64
2 changed files with 2 additions and 2 deletions

View file

@ -330,7 +330,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer &startup_time) :
_lastNackTime(usecTimestampNow()), _lastNackTime(usecTimestampNow()),
_lastSendDownstreamAudioStats(usecTimestampNow()), _lastSendDownstreamAudioStats(usecTimestampNow()),
_isVSyncOn(true), _isVSyncOn(true),
_isThrottleFPSEnabled(false), _isThrottleFPSEnabled(true),
_aboutToQuit(false), _aboutToQuit(false),
_notifiedPacketVersionMismatchThisDomain(false), _notifiedPacketVersionMismatchThisDomain(false),
_glWidget(new GLCanvas()), _glWidget(new GLCanvas()),

View file

@ -368,7 +368,7 @@ Menu::Menu() {
addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderTargetFramerateVSyncOn, 0, true, addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::RenderTargetFramerateVSyncOn, 0, true,
qApp, SLOT(setVSyncEnabled())); qApp, SLOT(setVSyncEnabled()));
#endif #endif
addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::ThrottleFPSIfNotFocus, 0, false, addCheckableActionToQMenuAndActionHash(renderOptionsMenu, MenuOption::ThrottleFPSIfNotFocus, 0, true,
qApp, SLOT(setThrottleFPSEnabled())); qApp, SLOT(setThrottleFPSEnabled()));
} }