|
|
@ -725,9 +725,10 @@ void UBWebController::loadUrl(const QUrl& url) |
|
|
|
} |
|
|
|
} |
|
|
|
else |
|
|
|
else |
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
bool webBrowserAlreadyInstanciated = mStackedWidget->widget(WebBrowser) != NULL; |
|
|
|
UBApplication::applicationController->showInternet(); |
|
|
|
UBApplication::applicationController->showInternet(); |
|
|
|
|
|
|
|
|
|
|
|
if (mCurrentWebBrowser && !(*mCurrentWebBrowser)) { |
|
|
|
if (!webBrowserAlreadyInstanciated) { |
|
|
|
(*mCurrentWebBrowser)->loadUrl(url); |
|
|
|
(*mCurrentWebBrowser)->loadUrl(url); |
|
|
|
} |
|
|
|
} |
|
|
|
else { |
|
|
|
else { |
|
|
|