Commit ad58110d authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Merge remote-tracking branch 'origin/Applications/16.08'

parents bbcf9770 b4d1fe59
......@@ -108,7 +108,7 @@ void KOEventViewerDialog::editIncidence()
QString error;
if (KToolInvocation::startServiceByDesktopPath(desktopFile, QStringList(), &error) == 0) {
OrgKdeKorganizerKorganizerInterface korganizerIface(
QStringLiteral("org.kde.korganizer"), QStringLiteral("/Korganizer"), QDBusConnection::sessionBus());
QStringLiteral("org.kde.korganizer"), QStringLiteral("/Korganizer"), QDBusConnection::sessionBus());
korganizerIface.editIncidence(QString::number(item.id()));
} else {
qCWarning(KORGANIZER_LOG) << "Failure starting korganizer:" << error;
......@@ -126,7 +126,7 @@ void KOEventViewerDialog::showIncidenceContext()
QString error;
if (KToolInvocation::startServiceByDesktopPath(desktopFile, QStringList(), &error) == 0) {
OrgKdeKorganizerKorganizerInterface korganizerIface(
QStringLiteral("org.kde.korganizer"), QStringLiteral("/Korganizer"), QDBusConnection::sessionBus());
QStringLiteral("org.kde.korganizer"), QStringLiteral("/Korganizer"), QDBusConnection::sessionBus());
korganizerIface.showIncidenceContext(QString::number(item.id()));
} else {
qCWarning(KORGANIZER_LOG) << "Failure starting korganizer:" << error;
......
......@@ -667,7 +667,7 @@ void KOViewManager::currentAgendaViewTabChanged(int index)
KConfigGroup viewConfig(config, "Views");
viewConfig.writeEntry("Agenda View Tab Index", mAgendaViewTabs->currentIndex());
if (index > -1 ) {
if (index > -1) {
goMenu(true);
QWidget *widget = mAgendaViewTabs->widget(index);
if (widget) {
......
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