mirror of
https://github.com/overte-org/overte.git
synced 2025-04-19 15:43:50 +02:00
more vs cleanup
This commit is contained in:
parent
64534913af
commit
c61f0bcf3e
1 changed files with 3 additions and 3 deletions
|
@ -55,7 +55,7 @@ void setupPreferences() {
|
|||
}
|
||||
|
||||
// Graphics quality
|
||||
static const QString GRAPHICS_QUALITY{ "Graphics Quality" };
|
||||
static const QString GRAPHICS_QUALITY { "Graphics Quality" };
|
||||
{
|
||||
auto getter = []()->float {
|
||||
return DependencyManager::get<LODManager>()->getWorldDetailQuality();
|
||||
|
@ -105,7 +105,7 @@ void setupPreferences() {
|
|||
}
|
||||
|
||||
// UI
|
||||
static const QString UI_CATEGORY{ "User Interface" };
|
||||
static const QString UI_CATEGORY { "User Interface" };
|
||||
{
|
||||
auto getter = []()->bool { return qApp->getSettingConstrainToolbarPosition(); };
|
||||
auto setter = [](bool value) { qApp->setSettingConstrainToolbarPosition(value); };
|
||||
|
@ -206,7 +206,7 @@ void setupPreferences() {
|
|||
}*/
|
||||
|
||||
// Snapshots
|
||||
static const QString SNAPSHOTS{ "Snapshots" };
|
||||
static const QString SNAPSHOTS { "Snapshots" };
|
||||
{
|
||||
auto getter = []()->QString { return DependencyManager::get<Snapshot>()->_snapshotsLocation.get(); };
|
||||
auto setter = [](const QString& value) { DependencyManager::get<Snapshot>()->_snapshotsLocation.set(value); emit DependencyManager::get<Snapshot>()->snapshotLocationSet(value); };
|
||||
|
|
Loading…
Reference in a new issue