Skip to content

Commit

Permalink
Add version number
Browse files Browse the repository at this point in the history
  • Loading branch information
dh4 committed Mar 24, 2014
1 parent 84d1dff commit c061a17
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/aboutdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ AboutDialog::AboutDialog(QWidget *parent) : QDialog(parent)
license->setReadOnly(true);
licenseFile.close();

QString description = tr("A basic launcher for Mupen64Plus using Qt.");
QString description = "<b>Mupen64Plus-Qt</b><br />Version " + Version + "<br /><br />";
description += tr("A basic launcher for Mupen64Plus using Qt.");
QString mupen64 = "<a href=\"https://code.google.com/p/mupen64plus/\">Mupen64Plus website</a>";
QString github = "<a href=\"https://github.com/dh4/mupen64plus-qt\">Github repository</a>";

Expand Down
3 changes: 3 additions & 0 deletions src/global.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#ifndef GLOBAL_H
#define GLOBAL_H


const QString Version = "1.1";

#ifdef Q_OS_WIN
#define SETTINGS QSettings("mupen64plus-qt.ini", QSettings::IniFormat)
#else
Expand Down

0 comments on commit c061a17

Please sign in to comment.