# HG changeset patch # User Chris Cannam # Date 1294319794 0 # Node ID a1f4b53590519f6a95beb2a62fa874ca34a852af # Parent b286f26561c9bb7733147ab11dec4c7970f9da82 * Add version number to About box diff -r b286f26561c9 -r a1f4b5359051 mainwindow.cpp --- a/mainwindow.cpp Thu Jan 06 12:22:56 2011 +0000 +++ b/mainwindow.cpp Thu Jan 06 13:16:34 2011 +0000 @@ -41,6 +41,7 @@ #include "confirmcommentdialog.h" #include "incomingdialog.h" #include "settingsdialog.h" +#include "version.h" MainWindow::MainWindow(QString myDirPath) : @@ -154,7 +155,7 @@ void MainWindow::about() { QMessageBox::about(this, tr("About EasyMercurial"), - tr("

About EasyMercurial

" + tr("

EasyMercurial v%1

" #ifdef Q_OS_MAC "" #endif @@ -188,7 +189,7 @@ #ifdef Q_OS_MAC "" #endif - )); + ).arg(EASYHG_VERSION)); } void MainWindow::clearSelections()