mirror of
https://bitbucket.org/smil3y/kde-extraapps.git
synced 2025-02-24 02:42:52 +00:00
gwenview: use KDE version instead of custom one
This commit is contained in:
parent
cc3af80d17
commit
0e3f04d5db
2 changed files with 2 additions and 42 deletions
|
@ -19,10 +19,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
// Self
|
// Self
|
||||||
#include <about.h>
|
#include <about.h>
|
||||||
|
|
||||||
// Local
|
|
||||||
#include <version.h>
|
|
||||||
|
|
||||||
// KDE
|
// KDE
|
||||||
|
#include <kdeversion.h>
|
||||||
#include <KAboutData>
|
#include <KAboutData>
|
||||||
#include <KLocalizedString>
|
#include <KLocalizedString>
|
||||||
|
|
||||||
|
@ -33,7 +31,7 @@ namespace Gwenview
|
||||||
|
|
||||||
KAboutData* createAboutData(const QByteArray& appName, const QByteArray& catalogName, const KLocalizedString& programName)
|
KAboutData* createAboutData(const QByteArray& appName, const QByteArray& catalogName, const KLocalizedString& programName)
|
||||||
{
|
{
|
||||||
KAboutData* data = new KAboutData(appName, catalogName, programName, GWENVIEW_VERSION);
|
KAboutData* data = new KAboutData(appName, catalogName, programName, KDE_VERSION_STRING);
|
||||||
data->setLicense(KAboutData::License_GPL);
|
data->setLicense(KAboutData::License_GPL);
|
||||||
data->setCopyrightStatement(ki18n("Copyright 2000-2013 Gwenview authors"));
|
data->setCopyrightStatement(ki18n("Copyright 2000-2013 Gwenview authors"));
|
||||||
data->addAuthor(
|
data->addAuthor(
|
||||||
|
|
|
@ -1,38 +0,0 @@
|
||||||
// vim: set tabstop=4 shiftwidth=4 expandtab:
|
|
||||||
/*
|
|
||||||
Gwenview: an image viewer
|
|
||||||
Copyright 2010-2013 Aurélien Gâteau <agateau@kde.org>
|
|
||||||
|
|
||||||
This program 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
|
|
||||||
of the License, or (at your option) any later version.
|
|
||||||
|
|
||||||
This program 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 this program; if not, write to the Free Software
|
|
||||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Cambridge, MA 02110-1301, USA.
|
|
||||||
|
|
||||||
*/
|
|
||||||
#ifndef VERSION_H
|
|
||||||
#define VERSION_H
|
|
||||||
|
|
||||||
/*
|
|
||||||
|
|
||||||
For stable releases, GWENVIEW_VERSION should be "$major.$minor.$patch",
|
|
||||||
matching KDE SC versions.
|
|
||||||
|
|
||||||
For unstable releases, it should be "$major.$minor.$patch $suffix", where
|
|
||||||
suffix is one of "pre", "alpha$N", "beta$N" or "rc$N".
|
|
||||||
|
|
||||||
When you change GWENVIEW_VERSION, add the new version in Bugzilla as well:
|
|
||||||
https://bugs.kde.org/editversions.cgi?product=gwenview
|
|
||||||
|
|
||||||
*/
|
|
||||||
#define GWENVIEW_VERSION "4.14.0 pre"
|
|
||||||
|
|
||||||
#endif /* VERSION_H */
|
|
Loading…
Add table
Reference in a new issue