Commit a29a4b52 authored by David Jarvie's avatar David Jarvie
Browse files

Rename Settings 'Edit' tab to 'Defaults'.

This is to make the tab's purpose clearer to users.
parent f6324c2a
Pipeline #47283 passed with stage
in 18 minutes and 1 second
KAlarm Change Log
=== Version 3.2.0 (KDE Applications 21.04) --- 11 January 2021 ===
* Remove KAlarm Akonadi resource code.
* Rename Settings 'Edit' tab to 'Defaults'.
=== Version 3.1.2 (KDE Applications 20.12.2) --- 11 January 2021 ===
* Default to using alarm names.
......
/*
* main.cpp
* Program: kalarm
* SPDX-FileCopyrightText: 2001-2020 David Jarvie <djarvie@kde.org>
* SPDX-FileCopyrightText: 2001-2021 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
......
/*
* prefdlg.cpp - program preferences dialog
* Program: kalarm
* SPDX-FileCopyrightText: 2001-2020 David Jarvie <djarvie@kde.org>
* SPDX-FileCopyrightText: 2001-2021 David Jarvie <djarvie@kde.org>
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
......@@ -169,17 +169,17 @@ KAlarmPrefDlg::KAlarmPrefDlg()
mEmailPageItem->setIcon(QIcon::fromTheme(QStringLiteral("internet-mail")));
addPage(mEmailPageItem);
mEditPage = new EditPrefTab(mTabScrollGroup);
mEditPageItem = new KPageWidgetItem(mEditPage, i18nc("@title:tab", "Defaults"));
mEditPageItem->setHeader(i18nc("@title", "Default Alarm Edit Settings"));
mEditPageItem->setIcon(QIcon::fromTheme(QStringLiteral("document-properties")));
addPage(mEditPageItem);
mViewPage = new ViewPrefTab(mTabScrollGroup);
mViewPageItem = new KPageWidgetItem(mViewPage, i18nc("@title:tab", "View"));
mViewPageItem->setHeader(i18nc("@title", "View Settings"));
mViewPageItem->setIcon(QIcon::fromTheme(QStringLiteral("preferences-desktop-theme")));
addPage(mViewPageItem);
mEditPage = new EditPrefTab(mTabScrollGroup);
mEditPageItem = new KPageWidgetItem(mEditPage, i18nc("@title:tab", "Edit"));
mEditPageItem->setHeader(i18nc("@title", "Default Alarm Edit Settings"));
mEditPageItem->setIcon(QIcon::fromTheme(QStringLiteral("document-properties")));
addPage(mEditPageItem);
connect(button(QDialogButtonBox::Ok), &QAbstractButton::clicked, this, &KAlarmPrefDlg::slotOk);
connect(button(QDialogButtonBox::Cancel), &QAbstractButton::clicked, this, &KAlarmPrefDlg::slotCancel);
connect(button(QDialogButtonBox::Apply), &QAbstractButton::clicked, this, &KAlarmPrefDlg::slotApply);
......
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