Commit 49a3693d authored by Scott Wheeler's avatar Scott Wheeler

Oops. Here's an ugly logical error that I'm surprised went so long unnoticed

(but doesn't exist in BRANCH).  Show "No Change" when the files *are* the same.

svn path=/trunk/kdemultimedia/juk/; revision=316153
parent f01f20a8
......@@ -54,8 +54,7 @@ public:
QMap<QString, QString>::ConstIterator it = files.begin();
for(; it != files.end(); ++it) {
KListViewItem *i = it.key() ==
KListViewItem *i = it.key() !=
? new KListViewItem(lv, it.key(),
: new KListViewItem(lv, it.key(), i18n("No Change"));
lvHeight += i->height();
......@@ -179,8 +178,7 @@ void FileRenamer::rename(const PlaylistItemList &items)
const QString oldName = (*it)->file().absFilePath();
const QString newName = rename(oldName, *(*it)->file().tag());
map[oldName] = newName;
map[oldName] = rename(oldName, *(*it)->file().tag());
itemMap[oldName] = *it;
Markdown is supported
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