Readded correct Q_ASSERT(m_fileInfo.isNull()) (the previous Q_ASSERT(!m_fileInfo.isNull()) accidentally has been added due to the 'use KFileItem by value instead of pointer' change...)

svn path=/trunk/KDE/kdebase/apps/; revision=700651
This commit is contained in:
Peter Penz 2007-08-16 05:22:39 +00:00
parent 83039c1c67
commit 91a6cb80fd

View file

@ -208,6 +208,7 @@ void DolphinContextMenu::openItemContextMenu()
void DolphinContextMenu::openViewportContextMenu()
{
Q_ASSERT(m_fileInfo.isNull());
KMenu* popup = new KMenu(m_mainWindow);
// setup 'Create New' menu