History

Moved Octree max pps out of Menu

Moved it to OctreeQuery

Atlante45 committed 11 years ago

Commit e8a396b1 parent 21a37057 files · +21 −52Browse files

Showing the changes to interface/src/Menu.cpp (1 of 7 files). Show all

Unified · Split

interface/src/Menu.cpp+0−2
@@ -592,7 +592,6 @@ void Menu::loadSettings(QSettings* settings) { · 591 unmodified lines
592 int bufferSize = settings->value("audioOutputBufferSize", DEFAULT_AUDIO_OUTPUT_BUFFER_SIZE_FRAMES).toInt();592 int bufferSize = settings->value("audioOutputBufferSize", DEFAULT_AUDIO_OUTPUT_BUFFER_SIZE_FRAMES).toInt();
593 QMetaObject::invokeMethod(audio.data(), "setOutputBufferSize", Q_ARG(int, bufferSize));593 QMetaObject::invokeMethod(audio.data(), "setOutputBufferSize", Q_ARG(int, bufferSize));
594 594
595 _maxOctreePacketsPerSecond = loadSetting(settings, "maxOctreePPS", DEFAULT_MAX_OCTREE_PPS);
596 _snapshotsLocation = settings->value("snapshotsLocation",595 _snapshotsLocation = settings->value("snapshotsLocation",
597 QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)).toString();596 QStandardPaths::writableLocation(QStandardPaths::DesktopLocation)).toString();
598 setScriptsLocation(settings->value("scriptsLocation", QString()).toString());597 setScriptsLocation(settings->value("scriptsLocation", QString()).toString());
@@ -636,7 +635,6 @@ void Menu::saveSettings(QSettings* settings) { · 37 unmodified lines
636 settings->setValue("audioOutputStarveDetectionPeriod", audio->getOutputStarveDetectionPeriod());635 settings->setValue("audioOutputStarveDetectionPeriod", audio->getOutputStarveDetectionPeriod());
637 settings->setValue("audioOutputBufferSize", audio->getOutputBufferSize());636 settings->setValue("audioOutputBufferSize", audio->getOutputBufferSize());
638 637
639 settings->setValue("maxOctreePPS", _maxOctreePacketsPerSecond);
640 settings->setValue("snapshotsLocation", _snapshotsLocation);638 settings->setValue("snapshotsLocation", _snapshotsLocation);
641 settings->setValue("scriptsLocation", _scriptsLocation);639 settings->setValue("scriptsLocation", _scriptsLocation);
642#if defined(Q_OS_MAC) || defined(Q_OS_WIN)640#if defined(Q_OS_MAC) || defined(Q_OS_WIN)