ui: Show recent bookmarks in bookmarks menu (issue #414)

bug id = 414
This commit is contained in:
Eberhard Graether
2017-07-12 15:01:14 +02:00
parent 77e748a5e1
commit 997f952b86
10 changed files with 93 additions and 5 deletions
+10
View File
@@ -128,6 +128,16 @@ void QtMainView::updateHistoryMenu(const std::vector<SearchMatch>& history)
);
}
void QtMainView::updateBookmarksMenu(const std::vector<std::shared_ptr<Bookmark>>& bookmarks)
{
m_onQtThread(
[=]()
{
m_window->updateBookmarksMenu(bookmarks);
}
);
}
void QtMainView::handleMessage(MessageForceEnterLicense* message)
{
bool expired = message->licenseExpired;