Removing some unused semicolons after Q_UNUSED

There were both variants, with and without extra semicolon.
This commit is contained in:
Alessandro Portale
2009-07-13 17:35:17 +02:00
parent f9ed6f18bc
commit d3f9757916
81 changed files with 298 additions and 298 deletions

View File

@@ -306,7 +306,7 @@ bool CMakeProject::parseCMakeLists()
QString CMakeProject::buildParser(const QString &buildConfiguration) const
{
Q_UNUSED(buildConfiguration);
Q_UNUSED(buildConfiguration)
// TODO this is actually slightly wrong, but do i care?
// this should call toolchain(buildConfiguration)
if (!m_toolChain)
@@ -547,7 +547,7 @@ ProjectExplorer::ProjectNode *CMakeProject::rootProjectNode() const
QStringList CMakeProject::files(FilesMode fileMode) const
{
Q_UNUSED(fileMode);
Q_UNUSED(fileMode)
return m_files;
}
@@ -664,7 +664,7 @@ bool CMakeFile::save(const QString &fileName)
{
// Once we have an texteditor open for this file, we probably do
// need to implement this, don't we.
Q_UNUSED(fileName);
Q_UNUSED(fileName)
return false;
}
@@ -706,7 +706,7 @@ bool CMakeFile::isSaveAsAllowed() const
void CMakeFile::modified(ReloadBehavior *behavior)
{
Q_UNUSED(behavior);
Q_UNUSED(behavior)
}
CMakeBuildSettingsWidget::CMakeBuildSettingsWidget(CMakeProject *project)

View File

@@ -50,37 +50,37 @@ QList<ProjectExplorer::ProjectNode::ProjectAction> CMakeProjectNode::supportedAc
bool CMakeProjectNode::addSubProjects(const QStringList &proFilePaths)
{
Q_UNUSED(proFilePaths);
Q_UNUSED(proFilePaths)
return false;
}
bool CMakeProjectNode::removeSubProjects(const QStringList &proFilePaths)
{
Q_UNUSED(proFilePaths);
Q_UNUSED(proFilePaths)
return false;
}
bool CMakeProjectNode::addFiles(const ProjectExplorer::FileType fileType, const QStringList &filePaths, QStringList *notAdded)
{
Q_UNUSED(fileType);
Q_UNUSED(filePaths);
Q_UNUSED(notAdded);
Q_UNUSED(fileType)
Q_UNUSED(filePaths)
Q_UNUSED(notAdded)
return false;
}
// TODO: Maybe remove fileType, can be detected by project
bool CMakeProjectNode::removeFiles(const ProjectExplorer::FileType fileType, const QStringList &filePaths, QStringList *notRemoved)
{
Q_UNUSED(fileType);
Q_UNUSED(filePaths);
Q_UNUSED(notRemoved);
Q_UNUSED(fileType)
Q_UNUSED(filePaths)
Q_UNUSED(notRemoved)
return false;
}
bool CMakeProjectNode::renameFile(const ProjectExplorer::FileType fileType, const QString &filePath, const QString &newFilePath)
{
Q_UNUSED(fileType);
Q_UNUSED(filePath);
Q_UNUSED(newFilePath);
Q_UNUSED(fileType)
Q_UNUSED(filePath)
Q_UNUSED(newFilePath)
return false;
}