mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +02:00
didn't mean to do that
This commit is contained in:
parent
b3513b543c
commit
79864df08e
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ void setupPreferences() {
|
||||||
// Snapshots
|
// Snapshots
|
||||||
static const QString SNAPSHOTS { "Snapshots" };
|
static const QString SNAPSHOTS { "Snapshots" };
|
||||||
{
|
{
|
||||||
auto getter = [=]()->QString { return Snapshot::snapshotsLocation.get(); };
|
auto getter = []()->QString { return Snapshot::snapshotsLocation.get(); };
|
||||||
auto setter = [=](const QString& value) { Snapshot::snapshotsLocation.set(value); };
|
auto setter = [](const QString& value) { Snapshot::snapshotsLocation.set(value); };
|
||||||
auto preference = new BrowsePreference(SNAPSHOTS, "Put my snapshots here", getter, setter);
|
auto preference = new BrowsePreference(SNAPSHOTS, "Put my snapshots here", getter, setter);
|
||||||
preferences->addPreference(preference);
|
preferences->addPreference(preference);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue