We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
'nullptr' is detected as a magic number (Magic number should not be used).
It is possible to add 'nullptr' to the rule exception list to fix it. But I think it's better to fix the rule detection directly in the Cxx plugin!?
The text was updated successfully, but these errors were encountered:
Hi @tomikais
Sorry, something went wrong.
Hi @guwirth
I'm using the latest version 0.9.6.
void InterfaceTestGui::resetGui() { m_ui->txtXmlSend->clear(); m_ui->txtXmlResult->clear(); m_ui->txtXmlResultFormated->clear(); m_ui->lblXmlInputPath->clear(); m_ui->lblXmlOutputPath->clear(); m_sendXmlFile = ""; m_resultXmlFile = ""; setCurrentFile(nullptr); // Extract this magic number 'nullptr' into a constant, variable declaration or an enum. statusBar()->showMessage(tr("GUI reset complete"), DISPLAY_TIME_STATUS_BAR); }
Regards
guwirth
Successfully merging a pull request may close this issue.
'nullptr' is detected as a magic number (Magic number should not be used).
It is possible to add 'nullptr' to the rule exception list to fix it. But I think it's better to fix the rule detection directly in the Cxx plugin!?
The text was updated successfully, but these errors were encountered: