Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor tablemodel cleanup #551

Closed
wants to merge 6 commits into from

Conversation

vifactor
Copy link
Collaborator

@vifactor vifactor commented Sep 29, 2024

mainly code duplication removal. Much easier to review commit-by-commit.

This activty revealed two directions for further improvements:

  • explicit LRU caching in the model
  • refactor searchtable model, which is basically a copy of this tablemodel

if ( decodeflag == 1 )
{
decodeflag = 0;
pluginManager->decodeMsg(msg, !QDltOptManager::getInstance()->issilentMode());
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexmucde initially I had a look to this file to understand if I can remove usage of QDltOptManager singleton in here. this is the only place it is used. Do you know how issilentmode command option relates to triggeredByUser argument of the decodeMsg? Can I simply pass false here? I know it is not used in the existing plugins, however I am not sure about third-party ones

@alexmucde alexmucde added this to the Release v2.27.0 milestone Oct 9, 2024
@vifactor vifactor added the WIP label Oct 13, 2024
@vifactor vifactor closed this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants