Commit 1420c941 authored by Albert Astals Cid's avatar Albert Astals Cid Committed by Albert Astals Cid

Save or Discard dialog: show only the file name and not the full url

parent 19b7e3c1
......@@ -1704,7 +1704,7 @@ bool Part::queryClose()
return true;
const int res = KMessageBox::warningYesNoCancel( widget(),
i18n( "Do you want to save your changes to \"%1\" or discard them?", url().toDisplayString() ),
i18n( "Do you want to save your changes to \"%1\" or discard them?", url().fileName() ),
i18n( "Close Document" ),
KStandardGuiItem::save(),
KStandardGuiItem::discard() );
......
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