Commit 9368a59e authored by Jonathan Marten's avatar Jonathan Marten
Browse files

Closing Project dialog: Use more familiar "Discard" button

parent 874aeed7
......@@ -892,10 +892,10 @@ bool K3b::MainWindow::canCloseDocument( K3b::Doc* doc )
return true;
switch ( KMessageBox::warningYesNoCancel( this,
i18n("%1 has unsaved data.", doc->URL().fileName() ),
xi18nc("@info", "Project <resource>%1</resource> has unsaved data.", doc->URL().fileName() ),
i18n("Closing Project"),
KStandardGuiItem::save(),
KStandardGuiItem::dontSave() ) ) {
KStandardGuiItem::discard() ) ) {
case KMessageBox::Yes:
return fileSave( doc );
case KMessageBox::No:
......
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