Minor cleanup, add my copyright
This commit is contained in:
parent
7a4c678a92
commit
011fd24f57
@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2012 Marco Martin <mart@kde.org>
|
* Copyright 2012 Marco Martin <mart@kde.org>
|
||||||
|
* Copyright 2013 Sebastian Kügler <sebas@kde.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -18,21 +19,20 @@
|
|||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <qcommandlineparser.h>
|
#include <qcommandlineparser.h>
|
||||||
|
|
||||||
#include <klocalizedstring.h>
|
|
||||||
#include "shellpluginloader.h"
|
|
||||||
#include "shellmanager.h"
|
|
||||||
|
|
||||||
#include <QtQml/QQmlDebuggingEnabler>
|
#include <QtQml/QQmlDebuggingEnabler>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
|
||||||
|
#include <klocalizedstring.h>
|
||||||
|
|
||||||
|
#include "shellpluginloader.h"
|
||||||
|
#include "shellmanager.h"
|
||||||
|
|
||||||
static const char description[] = "Plasma Shell";
|
static const char description[] = "Plasma Shell";
|
||||||
static const char version[] = "2.0";
|
static const char version[] = "2.0";
|
||||||
static QCommandLineParser parser;
|
static QCommandLineParser parser;
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
|
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
app.setApplicationVersion(version);
|
app.setApplicationVersion(version);
|
||||||
parser.setApplicationDescription(description);
|
parser.setApplicationDescription(description);
|
||||||
@ -42,8 +42,8 @@ int main(int argc, char** argv)
|
|||||||
QStringLiteral("Enable QML Javascript debugger"));
|
QStringLiteral("Enable QML Javascript debugger"));
|
||||||
|
|
||||||
QCommandLineOption win(QStringList() << QStringLiteral("w") <<
|
QCommandLineOption win(QStringList() << QStringLiteral("w") <<
|
||||||
QStringLiteral("windowed"),
|
QStringLiteral("windowed"),
|
||||||
QStringLiteral("Force a windowed view for testing purposes"));
|
QStringLiteral("Force a windowed view for testing purposes"));
|
||||||
|
|
||||||
QCommandLineOption crash(QStringList() << QStringLiteral("n") <<
|
QCommandLineOption crash(QStringList() << QStringLiteral("n") <<
|
||||||
QStringLiteral("crashes"),
|
QStringLiteral("crashes"),
|
||||||
|
Loading…
Reference in New Issue
Block a user