Port of revision 444197

Make my last commit also work correctly for DVI-Files.

svn path=/trunk/KDE/kdegraphics/kdvi/; revision=444198
This commit is contained in:
Wilfried Huss 2005-08-09 07:09:54 +00:00
parent 00ad43d066
commit 37f7000ef1

View file

@ -438,6 +438,10 @@ DocumentWidget* KDVIMultiPage::createDocumentWidget()
DVIWidget* documentWidget = new DVIWidget(scrollView()->viewport(), scrollView(), pageCache,
"singlePageWidget" );
// Lets not forget the connections we make in the KMultiPage
connect(documentWidget, SIGNAL(clearSelection()), this, SLOT(clearSelection()));
connect(this, SIGNAL(enableMoveTool(bool)), documentWidget, SLOT(slotEnableMoveTool(bool)));
// Handle source links
connect(documentWidget, SIGNAL(SRCLink(const QString&, QMouseEvent*, DocumentWidget*)), getRenderer(),
SLOT(handleSRCLink(const QString& ,QMouseEvent*, DocumentWidget*)));