forked from qt-creator/qt-creator
Removed unused variables.
Change-Id: I075f66e7727cf458ec2f11aa24bdd98e914bcb1b Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
This commit is contained in:
committed by
Daniel Teske
parent
c1c0f357da
commit
3943834392
@@ -248,7 +248,6 @@ void ProjectListWidget::addProject(Project *project)
|
||||
{
|
||||
m_ignoreIndexChange = true;
|
||||
|
||||
QString sortName = fullName(project);
|
||||
int pos = count();
|
||||
for (int i=0; i < count(); ++i) {
|
||||
Project *p = item(i)->data(Qt::UserRole).value<Project*>();
|
||||
@@ -326,7 +325,6 @@ void ProjectListWidget::projectDisplayNameChanged(Project *project)
|
||||
bool isCurrentItem = (oldPos == currentRow());
|
||||
QListWidgetItem *projectItem = takeItem(oldPos);
|
||||
|
||||
QString sortName = fullName(project);
|
||||
int pos = count();
|
||||
for (int i = 0; i < count(); ++i) {
|
||||
Project *p = item(i)->data(Qt::UserRole).value<Project*>();
|
||||
|
||||
Reference in New Issue
Block a user