mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-27 19:50:27 +00:00
Save or Discard dialog: show only the file name and not the full url
This commit is contained in:
parent
19b7e3c112
commit
1420c9411e
2
part.cpp
2
part.cpp
|
@ -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() );
|
||||
|
|
Loading…
Reference in a new issue