diff --git a/gui/projectfiledialog.cpp b/gui/projectfiledialog.cpp index 7a4fbfd7d..c9b51b1d4 100644 --- a/gui/projectfiledialog.cpp +++ b/gui/projectfiledialog.cpp @@ -272,6 +272,7 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile) setSuppressions(projectFile->getSuppressions()); // Human knowledge.. + /* mUI.mListUnknownFunctionReturn->clear(); mUI.mListUnknownFunctionReturn->addItem("rand()"); for (int row = 0; row < mUI.mListUnknownFunctionReturn->count(); ++row) { @@ -284,6 +285,7 @@ void ProjectFileDialog::loadFromProjectFile(const ProjectFile *projectFile) mUI.mCheckSafeExternalFunctions->setChecked(projectFile->getSafeChecks().externalFunctions); mUI.mCheckSafeInternalFunctions->setChecked(projectFile->getSafeChecks().internalFunctions); mUI.mCheckSafeExternalVariables->setChecked(projectFile->getSafeChecks().externalVariables); + */ // Addons.. QSettings settings; @@ -339,6 +341,7 @@ void ProjectFileDialog::saveToProjectFile(ProjectFile *projectFile) const } projectFile->setSuppressions(getSuppressions()); // Human knowledge + /* QStringList unknownReturnValues; for (int row = 0; row < mUI.mListUnknownFunctionReturn->count(); ++row) { QListWidgetItem *item = mUI.mListUnknownFunctionReturn->item(row); @@ -352,6 +355,7 @@ void ProjectFileDialog::saveToProjectFile(ProjectFile *projectFile) const safeChecks.internalFunctions = mUI.mCheckSafeInternalFunctions->isChecked(); safeChecks.externalVariables = mUI.mCheckSafeExternalVariables->isChecked(); projectFile->setSafeChecks(safeChecks); + */ // Addons QStringList list; if (mUI.mAddonThreadSafety->isChecked()) diff --git a/gui/projectfiledialog.ui b/gui/projectfiledialog.ui index cb816d7c2..fd775d3bc 100644 --- a/gui/projectfiledialog.ui +++ b/gui/projectfiledialog.ui @@ -415,157 +415,6 @@ - - - Extended checks - - - - - - - 0 - 0 - - - - "Safe" interface: Cppcheck does not only check how it is actually used, but analyze any possible usage. - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - 0 - 200 - - - - Qt::ScrollBarAlwaysOff - - - true - - - - - 0 - 0 - 840 - 273 - - - - - - - true - - - Classes - Public interface - - public function parameters can have any value - - public functions can be called in any order - - public variables can have any value - - - true - - - - - - - External functions - - External functions can be called in any order - - Function parameters can have any value - - - - - - - External variables - - Variable can have any value - - - - - - - Internal/private functions - - Function parameters can have any value - - - - - - - - - - - - - - Input from file/network/user/... - - - - - - If the return value from a function below is always completely unknown, then click on its checkbox - - - true - - - - - - - - - - 16777215 - 60 - - - - - rand() - - - - - - - - false - - - Add.. - - - - - - - - - - Warning options