"pdf"/"pdf file" -> "document"

svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
remotes/origin/KDE/4.0 v3.90.1
Pino Toscano 19 years ago
parent b53ba3cd24
commit 6aaefb7f68
  1. 4
      core/document.cpp
  2. 2
      ui/pageview.cpp

@ -2022,7 +2022,7 @@ void Document::processAction( const Action * action )
{
// this case is a link pointing to an executable with a parameter
// that also is an executable, possibly a hand-crafted pdf
KMessageBox::information( widget(), i18n("The pdf file is trying to execute an external application and for your safety okular does not allow that.") );
KMessageBox::information( widget(), i18n("The document is trying to execute an external application and for your safety okular does not allow that.") );
return;
}
}
@ -2030,7 +2030,7 @@ void Document::processAction( const Action * action )
{
// this case is a link pointing to an executable with no parameters
// core developers find unacceptable executing it even after asking the user
KMessageBox::information( widget(), i18n("The pdf file is trying to execute an external application and for your safety okular does not allow that.") );
KMessageBox::information( widget(), i18n("The document is trying to execute an external application and for your safety okular does not allow that.") );
return;
}
}

@ -652,7 +652,7 @@ void PageView::notifySetup( const QVector< Okular::Page * > & pageSet, bool docu
// TODO for Enrico: Check if doing always the slotRelayoutPages() is not
// suboptimal in some cases, i'd say it is not but a recheck will not hurt
// Need slotRelayoutPages() here instead of d->dirtyLayout = true
// because opening a pdf from another pdf will not trigger a viewportchange
// because opening a document from another document will not trigger a viewportchange
// so pages are never relayouted
QMetaObject::invokeMethod(this, "slotRelayoutPages", Qt::QueuedConnection);
else

Loading…
Cancel
Save