mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
DolphinContextMenu: drop wrong assert
`m_context` can also be `SearchContext` or `TimelineContext`, so this
assert has been wrong since 8b0c12a59c
.
This commit is contained in:
parent
ef09315404
commit
125c7aba09
|
@ -103,7 +103,6 @@ DolphinContextMenu::Command DolphinContextMenu::open()
|
|||
} else if (m_context & ItemContext) {
|
||||
openItemContextMenu();
|
||||
} else {
|
||||
Q_ASSERT(m_context == NoContext);
|
||||
openViewportContextMenu();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue