lrc: remove codec saving
this is now detected by lrc codecmodel's state machine
Refs #77567
Change-Id: Ia85777798bcba6f7974fc9fd14ef8759696b9727
diff --git a/src/PreferencesVC.mm b/src/PreferencesVC.mm
index 9edb1a6..1f8e153 100644
--- a/src/PreferencesVC.mm
+++ b/src/PreferencesVC.mm
@@ -87,13 +87,6 @@
- (void) close
{
- // first save codecs for each account
- for (int i = 0 ; i < AccountModel::instance()->rowCount(); ++i) {
- QModelIndex qIdx = AccountModel::instance()->index(i);
- AccountModel::instance()->getAccountByModelIndex(qIdx)->codecModel()->save();
- }
-
- // then save accounts
AccountModel::instance()->save();
CGRect frame = CGRectOffset(self.view.frame, 0, -self.view.frame.size.height);