From 20b58b6c03f6fa56d0cc1da90c13658664c153f1 Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Wed, 22 Nov 2006 08:22:45 +0000 Subject: Some port Remove not necessary file svn path=/trunk/playground/utils/dolphin/; revision=606884 --- src/renamedialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/renamedialog.cpp') diff --git a/src/renamedialog.cpp b/src/renamedialog.cpp index 301c02713..43db19354 100644 --- a/src/renamedialog.cpp +++ b/src/renamedialog.cpp @@ -44,14 +44,14 @@ RenameDialog::RenameDialog(const KUrl::List& items) : m_lineEdit = new KLineEdit(plainPage()); m_newName = i18n("New name #"); assert(itemCount > 1); - QString postfix(items[0].prettyURL().section('.',1)); + QString postfix(items[0].prettyUrl().section('.',1)); if (postfix.length() > 0) { // The first item seems to have a postfix (e. g. 'jpg' or 'txt'). Now // check whether all other items have the same postfix. If this is the // case, add this postfix to the name suggestion. postfix.insert(0, '.'); for (int i = 1; i < itemCount; ++i) { - if (!items[i].prettyURL().contains(postfix)) { + if (!items[i].prettyUrl().contains(postfix)) { // at least one item does not have the same postfix postfix.truncate(0); break; -- cgit v1.3