From: Diane Trout Date: Tue, 17 Oct 2006 21:57:06 +0000 (+0000) Subject: add a manually updated version number. X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=2566b8626e8cdb188bb9f2a5454772a249ce3193 add a manually updated version number. --- diff --git a/qui/MussaWindow.cpp b/qui/MussaWindow.cpp index 640d6f8..2ab6299 100644 --- a/qui/MussaWindow.cpp +++ b/qui/MussaWindow.cpp @@ -1,6 +1,7 @@ #include "py/python.hpp" #include "qui/MussaWindow.hpp" #include "mussa_exceptions.hpp" +#include "version.hpp" #include #include @@ -284,14 +285,17 @@ void MussaWindow::setupAssistant() void MussaWindow::about() { - QString msg("Welcome to Multiple Species Sequence Analysis\n" - "(c) 2005-2006 California Institute of Technology\n" - "Tristan De Buysscher, Diane Trout\n"); - msg += "\n\r"; - msg += "OpenGL: "; - msg += (char *)glGetString(GL_VERSION); - msg += "\n"; - QMessageBox::about(this, tr("About mussa"), msg); + QString msg; + msg += "Welcome to Multiple Species Sequence Analysis\n"; + msg += "(c) 2005-2006 California Institute of Technology\n"; + msg += "Diane Trout, Tristan De Buysscher, Brandon King\n"; + msg += "Version: "; + msg += mussa_version; + msg += "\n"; + msg += "OpenGL: "; + msg += (char *)glGetString(GL_VERSION); + msg += "\n"; + QMessageBox::about(this, tr("About mussa"), msg); } void MussaWindow::clear() diff --git a/version.hpp b/version.hpp new file mode 100644 index 0000000..e966a78 --- /dev/null +++ b/version.hpp @@ -0,0 +1,6 @@ +#ifndef MUSSA_VERSION_HPP_ +#define MUSSA_VERSION_HPP_ + +const char *mussa_version="0.99.2"; + +#endif /*VERSION_HPP_*/