From: Peter Penz Date: Thu, 16 Aug 2007 05:22:39 +0000 (+0000) Subject: Readded correct Q_ASSERT(m_fileInfo.isNull()) (the previous Q_ASSERT(!m_fileInfo... X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/91a6cb80fdf03471fc975a031707bdeebf692483 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 --- diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 1123f582e..8bd67111b 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -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