History

didn't mean to do that

SamGondelman committed 10 years ago

Commit 79864df1 parent b3513b51 file · +2 −2Browse files

Showing the changes to interface/src/ui/PreferencesDialog.cpp (1 of 1 file). Show all

Unified · Split

interface/src/ui/PreferencesDialog.cpp+2−2
@@ -71,8 +71,8 @@ void setupPreferences() { · 70 unmodified lines
71 // Snapshots71 // Snapshots
72 static const QString SNAPSHOTS { "Snapshots" };72 static const QString SNAPSHOTS { "Snapshots" };
73 {73 {
74 auto getter = [=]()->QString { return Snapshot::snapshotsLocation.get(); };74 auto getter = []()->QString { return Snapshot::snapshotsLocation.get(); };
75 auto setter = [=](const QString& value) { Snapshot::snapshotsLocation.set(value); };75 auto setter = [](const QString& value) { Snapshot::snapshotsLocation.set(value); };
76 auto preference = new BrowsePreference(SNAPSHOTS, "Put my snapshots here", getter, setter);76 auto preference = new BrowsePreference(SNAPSHOTS, "Put my snapshots here", getter, setter);
77 preferences->addPreference(preference);77 preferences->addPreference(preference);
78 }78 }