mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-23 04:30:09 -05:00
Merge pull request #1053 from OpenSpace/feature/profile
Feature/profile
This commit is contained in:
@@ -84,9 +84,14 @@ void BrowserInstance::initialize() {
|
||||
void BrowserInstance::loadUrl(std::string url) {
|
||||
ghoul_assert(_isInitialized, "BrowserInstance should be initialized");
|
||||
|
||||
LDEBUG(fmt::format("Loading URL: {}", url));
|
||||
CefString cefUrl = std::move(url);
|
||||
_browser->GetMainFrame()->LoadURL(cefUrl);
|
||||
if (!url.empty()) {
|
||||
LDEBUG(fmt::format("Loading URL: {}", url));
|
||||
CefString cefUrl = std::move(url);
|
||||
_browser->GetMainFrame()->LoadURL(cefUrl);
|
||||
}
|
||||
else {
|
||||
LWARNING("Provided browser URL is empty");
|
||||
}
|
||||
}
|
||||
|
||||
bool BrowserInstance::loadLocalPath(std::string path) {
|
||||
|
||||
Reference in New Issue
Block a user