Merge pull request #5442 from ctrlaltdavid/throttle-fps-by-default

Make Throttle FPS If Not Focus be enabled by default
This commit is contained in:
Philip Rosedale 2015-07-27 20:39:56 -07:00
commit 275ab6b96b
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()));
} }