[daemon] Set componentname to match desktop file name
This commit is contained in:
parent
51e4e399f4
commit
fdcf2e6279
1 changed files with 1 additions and 2 deletions
|
@ -100,7 +100,7 @@ int main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
QApplication app(argc, argv);
|
QApplication app(argc, argv);
|
||||||
KAboutData aboutData(
|
KAboutData aboutData(
|
||||||
QStringLiteral("kdeconnectd"),
|
QStringLiteral("org.kde.kdeconnect.daemon"),
|
||||||
i18n("KDE Connect Daemon"),
|
i18n("KDE Connect Daemon"),
|
||||||
QStringLiteral(KDECONNECT_VERSION_STRING),
|
QStringLiteral(KDECONNECT_VERSION_STRING),
|
||||||
i18n("KDE Connect Daemon"),
|
i18n("KDE Connect Daemon"),
|
||||||
|
@ -108,7 +108,6 @@ int main(int argc, char* argv[])
|
||||||
);
|
);
|
||||||
KAboutData::setApplicationData(aboutData);
|
KAboutData::setApplicationData(aboutData);
|
||||||
app.setQuitOnLastWindowClosed(false);
|
app.setQuitOnLastWindowClosed(false);
|
||||||
app.setDesktopFileName(QStringLiteral("org.kde.kdeconnect.daemon"));
|
|
||||||
|
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
QCommandLineOption replaceOption({QStringLiteral("replace")}, i18n("Replace an existing instance"));
|
QCommandLineOption replaceOption({QStringLiteral("replace")}, i18n("Replace an existing instance"));
|
||||||
|
|
Loading…
Reference in a new issue