----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/120455/#review67778 -----------------------------------------------------------
Ship it! Ship It! - Marco Martin On Oct. 1, 2014, 6:23 p.m., David Edmundson wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/120455/ > ----------------------------------------------------------- > > (Updated Oct. 1, 2014, 6:23 p.m.) > > > Review request for Plasma. > > > Repository: plasma-desktop > > > Description > ------- > > Avoid a lot of syncs to FavoritesModel in kickoff > > Current code loaded the list of favourites into a string. It then > readded them one by one syncing the config after each change. > > At the end the config is the same as when we started but with n config writes > in > the meantime. > > Splitting add and load methods solves this. > > This should hopefully fix lockups as we're no longer writing to kickoffrc so > often on load as well as give us a significant speed boost on the initial > open. > > BUG: 339451 > > > Diffs > ----- > > applets/kickoff/core/favoritesmodel.h 27a0626 > applets/kickoff/core/favoritesmodel.cpp f05588b > > Diff: https://git.reviewboard.kde.org/r/120455/diff/ > > > Testing > ------- > > Put a breakpoint on Kickoff::FavoritesModel::Private::save > > checked this wasn't called anymore and favourites still loaded correctly. > > > Thanks, > > David Edmundson > >
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel