| 698 | |
| 699 | |
| 700 | void UBWebController::loadUrl(const QUrl& url) |
| 701 | { |
| 702 | UBApplication::applicationController->showInternet(); |
| 703 | if (UBSettings::settings()->webUseExternalBrowser->get().toBool()) |
| 704 | { |
| 705 | QDesktopServices::openUrl(url); |
| 706 | } |
| 707 | else |
| 708 | { |
| 709 | WebView* view = mCurrentWebBrowser->tabWidget()->createTab(); |
| 710 | view->load(url); |
| 711 | } |
| 712 | } |
| 713 | |
| 714 | |
| 715 | WebView* UBWebController::createNewTab() |
no test coverage detected