diff src/historywidget.cpp @ 520:a17c06f773cd

idiot -- we don't need to query bookmarks separately, we can just add them to the log template
author Chris Cannam
date Wed, 09 Nov 2011 13:04:00 +0000
parents 000f13faa089
children a1d210c767ab
line wrap: on
line diff
--- a/src/historywidget.cpp	Tue Nov 08 16:42:09 2011 +0000
+++ b/src/historywidget.cpp	Wed Nov 09 13:04:00 2011 +0000
@@ -104,11 +104,6 @@
     m_refreshNeeded = true;
 }
 
-void HistoryWidget::setBookmarks(QHash<QString, QStringList> bookmarks)
-{
-    m_bookmarks = bookmarks;
-}
-
 void HistoryWidget::setClosedHeadIds(QSet<QString> closed)
 {
     if (closed == m_closedIds) return;
@@ -290,12 +285,6 @@
             DEBUG << "id " << id << " is new" << endl;
         }
 
-        if (m_bookmarks.contains(id)) {
-            csit->setBookmarks(m_bookmarks[id]);
-        } else {
-            csit->setBookmarks(QStringList());
-        }
-
         if (csit->isCurrent() != current ||
             csit->isNew() != newid) {
             csit->setCurrent(current);