# HG changeset patch # User Chris Cannam # Date 1299771182 0 # Node ID adb14d3f780f4be4d4b3cefc6df0fd5638a64386 # Parent 1aba0914dcfce277ea386c644f8e012ce756775b * Trivial change, just checkpointing diff -r 1aba0914dcfc -r adb14d3f780f filestatuswidget.cpp --- a/filestatuswidget.cpp Wed Mar 02 13:25:49 2011 +0000 +++ b/filestatuswidget.cpp Thu Mar 10 15:33:02 2011 +0000 @@ -31,6 +31,7 @@ #include #include #include +#include FileStatusWidget::FileStatusWidget(QWidget *parent) : QWidget(parent), @@ -106,6 +107,9 @@ connect(w, SIGNAL(itemSelectionChanged()), this, SLOT(itemSelectionChanged())); + w->insertAction(0, new QAction(tr("Commit"), w)); + w->setContextMenuPolicy(Qt::ActionsContextMenu); + boxlayout->addItem(new QSpacerItem(2, 2), 3, 0); boxesLayout->addWidget(box, ++boxRow, 0);