some more whitespace changes

This commit is contained in:
hjk
2008-12-09 11:07:24 +01:00
parent 88b7a14a79
commit 342caa2141
90 changed files with 528 additions and 571 deletions

View File

@@ -230,13 +230,11 @@ void ProjectWindow::updateTreeWidget()
Project *ProjectWindow::findProject(const QString &path) const
{
QList<Project*> projects = m_session->projects();
foreach(Project* project, projects) {
if (project->file()->fileName() == path) {
foreach (Project* project, projects)
if (project->file()->fileName() == path)
return project;
}
}
return 0;
}
}
void ProjectWindow::handleCurrentItemChanged(QTreeWidgetItem *current)
@@ -244,7 +242,6 @@ void ProjectWindow::handleCurrentItemChanged(QTreeWidgetItem *current)
if (current) {
QString path = current->text(2);
if (Project *project = findProject(path)) {
m_projectExplorer->setCurrentFile(project, path);
showProperties(project, QModelIndex());
return;