Commit aeea9883 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

DolphinContextMenu: drop wrong assert

`m_context` can also be `SearchContext` or `TimelineContext`, so this
assert has been wrong since 8b0c12a5.
parent c95d7fae
...@@ -103,7 +103,6 @@ DolphinContextMenu::Command DolphinContextMenu::open() ...@@ -103,7 +103,6 @@ DolphinContextMenu::Command DolphinContextMenu::open()
} else if (m_context & ItemContext) { } else if (m_context & ItemContext) {
openItemContextMenu(); openItemContextMenu();
} else { } else {
Q_ASSERT(m_context == NoContext);
openViewportContextMenu(); openViewportContextMenu();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment