svn path=/branches/kpdf_experiments/kdegraphics/kpdf/; revision=373451
This commit is contained in:
Albert Astals Cid 2004-12-26 22:34:50 +00:00
parent 3b0cc84aaf
commit 48b80d82e4
2 changed files with 2 additions and 1 deletions

View file

@ -138,7 +138,7 @@ Part::Part(QWidget *parentWidget, const char *widgetName,
connect(m_pageView, SIGNAL( rightClick(const KPDFPage *, const QPoint &) ), this, SLOT( slotShowMenu(const KPDFPage *, const QPoint &) ));
// add document observers
m_document->addObserver( this );
m_document->addObserver( this );
m_document->addObserver( m_thumbnailList );
m_document->addObserver( m_pageView );
m_document->addObserver( tocFrame );

View file

@ -121,6 +121,7 @@ bool KPDFPage::hasText( const QString & text, bool strictCase, bool fromTop )
GString * orig = m_text->getText( m_sLeft, m_sTop, m_sRight, m_sBottom );
found = !strcmp( text.latin1(), orig->getCString() );
}
gfree(u);
return found;
}