Commit 7b685bd2 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Export calendar: use action titles for overwrite confirm dialog buttons

parent 4f37ae5c
Pipeline #94069 canceled with stage
......@@ -1710,7 +1710,11 @@ void CalendarView::exportICalendar()
if (QFileInfo::exists(filename)) {
if (KMessageBox::No == KMessageBox::warningYesNo(this, i18n("Do you want to overwrite %1?", filename))) {
const int answer = KMessageBox::warningContinueCancel(this,
i18n("Do you want to overwrite %1?", filename),
i18nc("@title:window", "Export Calendar"),
if (answer == KMessageBox::Cancel) {
Supports Markdown
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