didn't mean to do that

This commit is contained in:
SamGondelman 2016-07-05 18:53:39 -07:00
parent b3513b543c
commit 79864df08e

View file

@ -71,8 +71,8 @@ void setupPreferences() {
// Snapshots
static const QString SNAPSHOTS { "Snapshots" };
{
auto getter = [=]()->QString { return Snapshot::snapshotsLocation.get(); };
auto setter = [=](const QString& value) { Snapshot::snapshotsLocation.set(value); };
auto getter = []()->QString { return Snapshot::snapshotsLocation.get(); };
auto setter = [](const QString& value) { Snapshot::snapshotsLocation.set(value); };
auto preference = new BrowsePreference(SNAPSHOTS, "Put my snapshots here", getter, setter);
preferences->addPreference(preference);
}