Commit 8198f743 authored by Alexandre Lision's avatar Alexandre Lision

lrc: remove codec saving

this is now detected by lrc codecmodel's state machine

Refs #77567

Change-Id: Ia85777798bcba6f7974fc9fd14ef8759696b9727
parent 911e0077
......@@ -87,13 +87,6 @@ static NSString* const kPowerSettingsIdentifer = @"PowerSettingsIdentifer";
- (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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment