Browse Source

Forgot some small things

pull/2/head
Nubben 2 years ago
parent
commit
61d19a567a
1 changed files with 1 additions and 2 deletions
  1. 1
    2
      src/main.cpp

+ 1
- 2
src/main.cpp View File

@@ -19,7 +19,6 @@ bool setWindowContent(URL const& url);

bool setWindowContent(URL const& url) {
WebResource res = getWebResource(url);
std::cout << "RESTYPE: " << (int)res.resourceType << std::endl;
if (res.resourceType == ResourceType::INVALID) {
std::cout << "Invalid resource type: " << res.raw << std::endl;
return false;
@@ -35,7 +34,7 @@ bool setWindowContent(URL const& url) {
}

void navTo(std::string url) {
std::cout << "go to: " << url << std::endl;
std::cout << "navTo(" << url << ")" << std::endl;
currentURL = currentURL.merge(URL(url));
std::cout << "go to: " << currentURL << std::endl;
setWindowContent(currentURL);

Loading…
Cancel
Save