[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegraphics/gwenview/app
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2007-10-01 8:38:46
Message-ID: 1191227926.532877.29343.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 719526 by tokoe:

Simplify code


 M  +1 -5      fileopscontextmanageritem.cpp  


--- trunk/KDE/kdegraphics/gwenview/app/fileopscontextmanageritem.cpp #719525:719526
@@ -336,11 +336,7 @@
 void FileOpsContextManagerItem::showProperties() {
 	QList<KFileItem> list = contextManager()->selection();
 	if (list.count() > 0) {
-		KFileItemList itemList;
-		Q_FOREACH(KFileItem item, list) {
-			itemList << item;
-		}
-		KPropertiesDialog::showDialog(itemList, d->mSideBar);
+		KPropertiesDialog::showDialog(list, d->mSideBar);
 	} else {
 		KUrl url = contextManager()->currentDirUrl();
 		KPropertiesDialog::showDialog(url, d->mSideBar);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic