Commit 39438343 authored by Konstantin Tokarev's avatar Konstantin Tokarev Committed by Daniel Teske
Browse files

Removed unused variables.



Change-Id: I075f66e7727cf458ec2f11aa24bdd98e914bcb1b
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent c1c0f357
...@@ -248,7 +248,6 @@ void ProjectListWidget::addProject(Project *project) ...@@ -248,7 +248,6 @@ void ProjectListWidget::addProject(Project *project)
{ {
m_ignoreIndexChange = true; m_ignoreIndexChange = true;
QString sortName = fullName(project);
int pos = count(); int pos = count();
for (int i=0; i < count(); ++i) { for (int i=0; i < count(); ++i) {
Project *p = item(i)->data(Qt::UserRole).value<Project*>(); Project *p = item(i)->data(Qt::UserRole).value<Project*>();
...@@ -326,7 +325,6 @@ void ProjectListWidget::projectDisplayNameChanged(Project *project) ...@@ -326,7 +325,6 @@ void ProjectListWidget::projectDisplayNameChanged(Project *project)
bool isCurrentItem = (oldPos == currentRow()); bool isCurrentItem = (oldPos == currentRow());
QListWidgetItem *projectItem = takeItem(oldPos); QListWidgetItem *projectItem = takeItem(oldPos);
QString sortName = fullName(project);
int pos = count(); int pos = count();
for (int i = 0; i < count(); ++i) { for (int i = 0; i < count(); ++i) {
Project *p = item(i)->data(Qt::UserRole).value<Project*>(); Project *p = item(i)->data(Qt::UserRole).value<Project*>();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment