GUI: Remove Clang tool and Misra addon for now
This commit is contained in:
parent
5414d09e03
commit
c11bcdfb40
|
@ -132,7 +132,6 @@ void ProjectFileDialog::saveSettings() const
|
|||
|
||||
void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
|
||||
{
|
||||
mUI.mToolClang->setChecked(projectFile->getAddons().contains("clang"));
|
||||
mUI.mToolClangTidy->setChecked(projectFile->getAddons().contains("clang-tidy"));
|
||||
setRootPath(projectFile->getRootPath());
|
||||
setBuildDir(projectFile->getBuildDir());
|
||||
|
@ -147,7 +146,6 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile)
|
|||
mUI.mAddonThreadSafety->setChecked(projectFile->getAddons().contains("threadsafety"));
|
||||
mUI.mAddonY2038->setChecked(projectFile->getAddons().contains("y2038"));
|
||||
mUI.mAddonCert->setChecked(projectFile->getAddons().contains("cert"));
|
||||
mUI.mAddonMisra->setChecked(projectFile->getAddons().contains("misra"));
|
||||
updatePathsAndDefines();
|
||||
}
|
||||
|
||||
|
@ -164,8 +162,6 @@ void ProjectFileDialog::saveToProjectFile(ProjectFile *projectFile) const
|
|||
projectFile->setLibraries(getLibraries());
|
||||
projectFile->setSuppressions(getSuppressions());
|
||||
QStringList list;
|
||||
if (mUI.mToolClang->isChecked())
|
||||
list << "clang";
|
||||
if (mUI.mToolClangTidy->isChecked())
|
||||
list << "clang-tidy";
|
||||
if (mUI.mAddonThreadSafety->isChecked())
|
||||
|
@ -174,8 +170,6 @@ void ProjectFileDialog::saveToProjectFile(ProjectFile *projectFile) const
|
|||
list << "y2038";
|
||||
if (mUI.mAddonCert->isChecked())
|
||||
list << "cert";
|
||||
if (mUI.mAddonMisra->isChecked())
|
||||
list << "misra";
|
||||
projectFile->setAddons(list);
|
||||
}
|
||||
|
||||
|
|
|
@ -31,13 +31,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="mToolClang">
|
||||
<property name="text">
|
||||
<string>Clang</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="mToolClangTidy">
|
||||
<property name="text">
|
||||
|
@ -547,13 +540,6 @@
|
|||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QCheckBox" name="mAddonMisra">
|
||||
<property name="text">
|
||||
<string>Misra</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer name="verticalSpacer_5">
|
||||
<property name="orientation">
|
||||
|
|
Loading…
Reference in New Issue