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