From a7579c9b6014346b013f3ec43432c60b570907ce Mon Sep 17 00:00:00 2001 From: Mugunth Date: Mon, 5 May 2014 07:03:00 +1000 Subject: [PATCH] About box version changes --- ekalappai/about.cpp | 1 + ekalappai/about.ui | 2 +- ekalappai/main.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ekalappai/about.cpp b/ekalappai/about.cpp index 5bea58a..97281c0 100644 --- a/ekalappai/about.cpp +++ b/ekalappai/about.cpp @@ -6,6 +6,7 @@ About::About(QWidget *parent) : ui(new Ui::About) { ui->setupUi(this); + this->setWindowTitle("About " + qApp->applicationName()+ " " + qApp->applicationVersion()); } About::~About() diff --git a/ekalappai/about.ui b/ekalappai/about.ui index def7015..3c144a2 100644 --- a/ekalappai/about.ui +++ b/ekalappai/about.ui @@ -26,7 +26,7 @@ Qt::NoContextMenu - About eKalappai v3.0 + diff --git a/ekalappai/main.cpp b/ekalappai/main.cpp index 9fc1fc6..3a35527 100644 --- a/ekalappai/main.cpp +++ b/ekalappai/main.cpp @@ -32,7 +32,7 @@ int main(int argc, char *argv[]) QApplication app(argc, argv); app.setApplicationName("eKalappai"); - app.setApplicationVersion("3.1"); + app.setApplicationVersion("3.0.2"); //Allow only one instance of eKalappai at any time //This solution is based on solution provided in this article http://stackoverflow.com/questions/4087235/how-to-force-my-application-to-open-one-exe-only-qt-linux