From: Elvis Angelaccio Date: Tue, 15 Dec 2020 21:56:06 +0000 (+0100) Subject: DolphinContextMenu: drop wrong assert X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/125c7aba09cea4ce0f7a1e0106e4eec0f1aa8c9f DolphinContextMenu: drop wrong assert `m_context` can also be `SearchContext` or `TimelineContext`, so this assert has been wrong since 8b0c12a59ccb23f. --- diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 283f52565..91e9d8238 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -103,7 +103,6 @@ DolphinContextMenu::Command DolphinContextMenu::open() } else if (m_context & ItemContext) { openItemContextMenu(); } else { - Q_ASSERT(m_context == NoContext); openViewportContextMenu(); }