From aeea98837d22d018b4d738d0d64297f856e3955c Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Tue, 15 Dec 2020 22:56:06 +0100 Subject: [PATCH] DolphinContextMenu: drop wrong assert `m_context` can also be `SearchContext` or `TimelineContext`, so this assert has been wrong since 8b0c12a59ccb23f. --- src/dolphincontextmenu.cpp | 1 - 1 file changed, 1 deletion(-) 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(); } -- 2.47.3