mirror of
https://invent.kde.org/system/dolphin
synced 2024-10-28 03:21:56 +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
c95d7fae79
commit
aeea98837d
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue