void SearchWidget::zoomOut() { QTextBrowser* browser = qFindChild<QTextBrowser*>(resultWidget); if (browser && zoomCount != -5) { zoomCount--; browser->zoomOut(); } }
void SearchWidget::zoomOut() { TRACE_OBJ QTextBrowser* browser = resultWidget->findChild<QTextBrowser*>(); if (browser && zoomCount != -5) { zoomCount--; browser->zoomOut(); } }
void SearchWidget::resetZoom() { if (zoomCount == 0) return; QTextBrowser* browser = qFindChild<QTextBrowser*>(resultWidget); if (browser) { browser->zoomOut(zoomCount); zoomCount = 0; } }