@brief Asynchorous update web view *----------------------------------------------------------------------------*/
| 1852 | /** @brief Asynchorous update web view |
| 1853 | *----------------------------------------------------------------------------*/ |
| 1854 | void NewsTabWidget::slotSetHtmlWebView(const QString &html) |
| 1855 | { |
| 1856 | webView_->history()->setMaximumItemCount(0); |
| 1857 | webView_->setHtml(html); |
| 1858 | webView_->history()->setMaximumItemCount(100); |
| 1859 | } |
| 1860 | |
| 1861 | void NewsTabWidget::hideWebContent() |
| 1862 | { |
nothing calls this directly
no outgoing calls
no test coverage detected