┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorElvis Angelaccio <[email protected]>2020-12-15 22:56:06 +0100
committerElvis Angelaccio <[email protected]>2020-12-15 22:56:06 +0100
commitaeea98837d22d018b4d738d0d64297f856e3955c (patch)
treec97c85d07ec66c300ecfbc4f4c1748aa0e758ba1 /src/dolphincontextmenu.cpp
parentc95d7fae79a309ed7f2df393fa20257cb20d54a8 (diff)
DolphinContextMenu: drop wrong assert
`m_context` can also be `SearchContext` or `TimelineContext`, so this assert has been wrong since 8b0c12a59ccb23f.
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp1
1 files changed, 0 insertions, 1 deletions
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();
}