display properties dialogbox

svn path=/trunk/KDE/kdebase/apps/; revision=668442
This commit is contained in:
Laurent Montel 2007-05-26 12:58:12 +00:00
parent 5177722094
commit 235138933a

View file

@ -162,7 +162,9 @@ void TreeViewContextMenu::deleteItem()
void TreeViewContextMenu::showProperties()
{
new KPropertiesDialog(m_fileInfo->url());
KPropertiesDialog* dlg = new KPropertiesDialog(m_fileInfo->url() );
dlg->exec();
delete dlg;
}
#include "treeviewcontextmenu.moc"