Commit e4ae6da5 authored by Michael Reeves's avatar Michael Reeves

Drop now pointless foreach loop.

parent 3ce33307
......@@ -94,14 +94,8 @@ QList<QAction*> KDiff3FileItemAction::actions( const KFileItemListProperties& fi
pMenuAction->setMenu( pActionMenu );
// remember currently selected files (copy to a QStringList)
QList<QUrl> itemList = fileItemInfos.urlList();
foreach(const QUrl& item, itemList)
{
//m_urlList.append( item.url() );
m_list.append( item );
}
// remember currently selected files
m_list = fileItemInfos.urlList();
/* Menu structure:
KDiff3 -> (1 File selected): Save 'selection' for later comparison (push onto history stack)
......
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