diff mainwindow.cpp @ 128:fcaf09ee825d

* Show tags and current working copy parents in history graph
author Chris Cannam
date Mon, 29 Nov 2010 20:09:58 +0000
parents 758471b71721
children 4986642800f0
line wrap: on
line diff
--- a/mainwindow.cpp	Mon Nov 29 17:48:43 2010 +0000
+++ b/mainwindow.cpp	Mon Nov 29 20:09:58 2010 +0000
@@ -1246,8 +1246,13 @@
         break;
         
     case ACT_QUERY_PARENTS:
+    {
         foreach (Changeset *cs, currentParents) delete cs;
         currentParents = Changeset::parseChangesets(output);
+        QStringList ids;
+        foreach (Changeset *cs, currentParents) ids.push_back(cs->id());
+        hgTabs->setCurrent(ids);
+    }
         break;
         
     case ACT_QUERY_HEADS:
@@ -1648,7 +1653,7 @@
 
     helpMenu = menuBar()->addMenu(tr("Help"));
     helpMenu->addAction(aboutAct);
-    helpMenu->addAction(aboutQtAct);
+//!!!    helpMenu->addAction(aboutQtAct);
 }
 
 void MainWindow::createToolBars()