Remove missed reference to pref in NSProfilePlugin.

This commit is contained in:
Johannes Mockenhaupt 2017-12-06 12:05:39 +01:00
parent 23874ebbd6
commit ab456d5966
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -120,7 +120,6 @@ public class NSProfilePlugin implements PluginBase, ProfileInterface {
profile = new ProfileStore(newProfile.getData());
storeNSProfile();
MainApp.bus().post(new EventNSProfileUpdateGUI());
if (SP.getBoolean("syncprofiletopump", false)) {
ConfigBuilderPlugin.getCommandQueue().setProfile(MainApp.getConfigBuilder().getProfile(), new Callback() {
@Override
public void run() {
@ -133,7 +132,6 @@ public class NSProfilePlugin implements PluginBase, ProfileInterface {
}
});
}
}
private static void storeNSProfile() {
SP.putString("profile", profile.getData().toString());