Commit 5e0ddd2d authored by Samoilenko Yuri's avatar Samoilenko Yuri
Browse files

kdeconnectd aboutData for future

parent 1ce87500
......@@ -23,8 +23,10 @@
#include <signal.h>
#include <unistd.h>
#include <QApplication>
#include <QSocketNotifier>
#include <KApplication>
#include <KAboutData>
#include <KCmdLineArgs>
#include "daemon.h"
......@@ -57,7 +59,19 @@ void initializeTermHandlers(QCoreApplication* app)
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
KAboutData aboutData("kdeconnectd", "kdeconnectd",
ki18n("kdeconnect"),
"0.1",
ki18n("connect devices"),
KAboutData::License_GPL,
KLocalizedString(),
KLocalizedString(),
"http://albertvaka.wordpress.com");
KCmdLineArgs::init(argc, argv, &aboutData);
KApplication app(true); // WARNING GUI required for QClipboard access
app.disableSessionManagement();
initializeTermHandlers(&app);
new Daemon(&app);
......@@ -73,5 +87,3 @@ int main(int argc, char* argv[])
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment