Commit e75b08fb authored by Albert Astals Cid's avatar Albert Astals Cid
Browse files

- Search only supports "simple search" for now so disable all the other...

 - Search only supports "simple search" for now so disable all the other buttons. XPDF 3.01 will add case-sensitive and backwards search capabilities so we'll have it too when xpdf 3.01 is release and merged

svn path=/trunk/kdegraphics/kpdf/; revision=350118
parent 8fa784ce
......@@ -937,6 +937,11 @@ void Part::doPrint( KPrinter& printer )
void Part::find()
{
KFindDialog dlg(pdfpartview);
dlg.setHasCursor(false);
dlg.setSupportsBackwardsFind(false);
dlg.setSupportsCaseSensitiveFind(false);
dlg.setSupportsWholeWordsFind(false);
dlg.setSupportsRegularExpressionFind(false);
if (dlg.exec() != QDialog::Accepted) return;
doFind(dlg.pattern(), false);
......
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