Commit 6b616f76 authored by Dirk Mueller's avatar Dirk Mueller
Browse files

fix crash on RMB inside konqueror (backport 811027, kde#162424)

svn path=/tags/KDE/4.0.80/kdebase/apps/; revision=813233
parent 411a3c31
......@@ -196,8 +196,10 @@ void KonqPopupMenuPrivate::init(KonqPopupMenu::Flags kpf, KParts::BrowserExtensi
QFileInfo parentDirInfo;
KUrl url;
KFileItemList::const_iterator it = m_popupMenuInfo.items().begin();
const KFileItemList::const_iterator kend = m_popupMenuInfo.items().end();
KFileItemList lstItems = m_popupMenuInfo.items();
KFileItemList::const_iterator it = lstItems.begin();
const KFileItemList::const_iterator kend = lstItems.end();
for ( ; it != kend; ++it )
{
url = (*it).url();
......
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