Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 91193 | Differences between
and this patch

Collapse All | Expand All

(-)kchmviewer_old/src/kchmviewwindow.cpp (-2 / +3 lines)
Lines 65-70 Link Here
65
65
66
	makeURLabsolute (url);
66
	makeURLabsolute (url);
67
	setSource (url);
67
	setSource (url);
68
	setZoomFactor(currentFont().pointSize());
68
	return true;
69
	return true;
69
}
70
}
70
71
Lines 82-94 Link Here
82
void KCHMViewWindow::zoomIn( )
83
void KCHMViewWindow::zoomIn( )
83
{
84
{
84
	m_zoomfactor++;
85
	m_zoomfactor++;
85
	QTextBrowser::zoomIn( );
86
        QTextBrowser::zoomTo(m_zoomfactor);
86
}
87
}
87
88
88
void KCHMViewWindow::zoomOut( )
89
void KCHMViewWindow::zoomOut( )
89
{
90
{
90
	m_zoomfactor--;
91
	m_zoomfactor--;
91
	QTextBrowser::zoomOut( );
92
        QTextBrowser::zoomTo(m_zoomfactor);
92
}
93
}
93
94
94
void KCHMViewWindow::setZoomFactor( int zoom )
95
void KCHMViewWindow::setZoomFactor( int zoom )

Return to bug 91193