diff --git a/gui/main.cc b/gui/main.cc --- a/gui/main.cc +++ b/gui/main.cc @@ -28,7 +28,7 @@ #include #include "mainwindow.h" -#include "version.h" +#include "../version.h" static const char description[] = I18N_NOOP("KDE Five in a Row Board Game"); static const char copyleft[] = I18N_NOOP("(c) 2002-2007, Aron Boström"); @@ -46,7 +46,7 @@ KLocalizedString::setApplicationDomain("bovo"); KAboutData aboutData(QStringLiteral("bovo"), i18n("Bovo"), - QStringLiteral(BOVO_VERSION), i18n(description), KAboutLicense::GPL, + QStringLiteral(KDE_APP_BUNDLE_VERSION), i18n(description), KAboutLicense::GPL, i18n(copyleft), QString(), QStringLiteral("http://games.kde.org/bovo")); aboutData.addAuthor(i18n("Aron Boström"),i18n("Author"), QStringLiteral("aron.bostrom@gmail.com")); diff --git a/gui/version.h b/gui/version.h deleted file mode 100644 --- a/gui/version.h +++ /dev/null @@ -1,24 +0,0 @@ -/******************************************************************* -* -* Copyright 2007 Aron Boström -* -* Bovo is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as published by -* the Free Software Foundation; either version 2, or (at your option) -* any later version. -* -* Bovo is distributed in the hope that it will be useful, -* but WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with Bovo; see the file COPYING. If not, write to -* the Free Software Foundation, 51 Franklin Street, Fifth Floor, -* Boston, MA 02110-1301, USA. -* -********************************************************************/ - -#ifndef BOVO_VERSION -#define BOVO_VERSION "1.1" -#endif diff --git a/version.h b/version.h new file mode 100644 --- /dev/null +++ b/version.h @@ -0,0 +1,3 @@ +#ifndef KDE_APP_BUNDLE_VERSION +#define KDE_APP_BUNDLE_VERSION "19.04" +#endif