| 5745 | } |
| 5746 | |
| 5747 | void EventBrowser::jumpToBookmark(int idx) |
| 5748 | { |
| 5749 | const rdcarray<EventBookmark> bookmarks = m_Ctx.GetBookmarks(); |
| 5750 | if(idx < 0 || idx >= bookmarks.count() || !m_Ctx.IsCaptureLoaded()) |
| 5751 | return; |
| 5752 | |
| 5753 | // don't exclude ourselves, so we're updated as normal |
| 5754 | if(!SelectEvent(bookmarks[idx].eventId)) |
| 5755 | ui->events->setCurrentIndex(QModelIndex()); |
| 5756 | } |
| 5757 | |
| 5758 | void EventBrowser::highlightBookmarks() |
| 5759 | { |
nothing calls this directly
no test coverage detected