Display the filename you whant to print in the caption of the printdialog

svn path=/trunk/kdegraphics/kdvi/; revision=234300
remotes/origin/kdvi-3.2
Sven Leiber 23 years ago
parent f6af96de3f
commit 528bcdde49
  1. 4
      kdvi_multipage.cpp

@ -418,9 +418,9 @@ bool KDVIMultiPage::print(const QStringList &pages, int current)
}
// Show the printer options requestor
if (printer->setup(window) == false)
if (!printer->setup(window, i18n("Print %1").arg(m_file.section('/', -1))))
return false;
if (printer->pageList().isEmpty() == true) {
if (printer->pageList().isEmpty()) {
KMessageBox::error( window,
i18n("The list of pages you selected was empty.\n"
"Maybe you made an error in selecting the pages, "

Loading…
Cancel
Save