korgac: Add a menu option to always get to the reminder dialog.
ClosedPublic

Authored by dfries on Oct 16 2018, 3:38 AM.

Details

Summary

Otherwise once the dialog is closed you can't get back to what
notifications are pending (suspended) until a notification is shown.

Removed passing mCalendar to createReminder, which already had access to the member variable and no longer even uses it.

Test Plan

Go to the dock window menu, click on "Show Reminders", verify the Reminders dialog comes up.

Diff Detail

Repository
R210 KOrganizer
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
dfries created this revision.Oct 16 2018, 3:38 AM
Restricted Application added a project: KDE PIM. · View Herald TranscriptOct 16 2018, 3:38 AM
Restricted Application added a subscriber: kde-pim. · View Herald Transcript
dfries requested review of this revision.Oct 16 2018, 3:38 AM
dvratil requested changes to this revision.Oct 16 2018, 8:29 AM
dvratil added a subscriber: dvratil.

Thanks for the patch! Just a minor nitpick, otherwise it looks good.

korgac/koalarmclient.cpp
259

This is just a nitpick, but would you mind renaming this to createDialog() (it's more common terminology in our code than allocate).

This revision now requires changes to proceed.Oct 16 2018, 8:29 AM
dfries updated this revision to Diff 43733.Oct 16 2018, 1:26 PM

renamed allocateDialog to createDialog

dfries marked an inline comment as done.Oct 16 2018, 1:30 PM

marked inline comment as done, this feature was very useful in development

dvratil accepted this revision.Oct 16 2018, 1:36 PM

Thanks.

This has to go to master because of the string change, so it will be available in 18.12. We'll push this for you if you don't have commit access.

This revision is now accepted and ready to land.Oct 16 2018, 1:36 PM
This revision was automatically updated to reflect the committed changes.