Commit d4b52772 authored by Allen Winter's avatar Allen Winter
Browse files

Make Get New Stuff work again

Differential Revision: https://phabricator.kde.org/D24633
parent 0852a8cf
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com> Copyright (C) 2004 Reinhold Kainhofer <reinhold@kainhofer.com>
Copyright (c) 2005 Rafal Rzepecki <divide@users.sourceforge.net> Copyright (c) 2005 Rafal Rzepecki <divide@users.sourceforge.net>
Copyright (c) 2010-2019 Laurent Montel <montel@kde.org> Copyright (c) 2010-2019 Laurent Montel <montel@kde.org>
Copyright (c) 2012 Allen Winter <winter@kde.org> Copyright (c) 2012-2019 Allen Winter <winter@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
...@@ -1184,7 +1184,8 @@ bool ActionManager::addIncidence(const QString &ical) ...@@ -1184,7 +1184,8 @@ bool ActionManager::addIncidence(const QString &ical)
void ActionManager::downloadNewStuff() void ActionManager::downloadNewStuff()
{ {
QPointer<KNS3::DownloadDialog> dialog = new KNS3::DownloadDialog(mCalendarView); QPointer<KNS3::DownloadDialog> dialog = new KNS3::DownloadDialog(QStringLiteral("korganizer.knsrc"), mCalendarView);
dialog->setTitle(i18nc("@title", "KOrganizer Calendars Add-On Installer"));
dialog->exec(); dialog->exec();
const auto installedEntries = dialog->installedEntries(); const auto installedEntries = dialog->installedEntries();
for (const KNS3::Entry &e : installedEntries) { for (const KNS3::Entry &e : installedEntries) {
......
...@@ -21,6 +21,6 @@ Name[sv]=Korganizer-kalender ...@@ -21,6 +21,6 @@ Name[sv]=Korganizer-kalender
Name[uk]=Календар KOrganizer Name[uk]=Календар KOrganizer
Name[x-test]=xxKOrganizer Calendarxx Name[x-test]=xxKOrganizer Calendarxx
Name[zh_TW]=KOrganizer 行事曆 Name[zh_TW]=KOrganizer 行事曆
ProvidersUrl=https://autoconfig.kde.org/ocs/providers.xml
Categories=KOrganizer Calendar Categories=KOrganizer Calendar
TargetDir=korganizer TargetDir=korganizer
Uncompress=archive
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