From 70bde1db7be3d1485a6dfcac7836ac8bcfab8267 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 28 Aug 2024 02:16:28 +0300 Subject: [PATCH] enshort connector --- src/app/browser/main/tab/page.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/app/browser/main/tab/page.cpp b/src/app/browser/main/tab/page.cpp index 4a6bcd1e..aa311378 100644 --- a/src/app/browser/main/tab/page.cpp +++ b/src/app/browser/main/tab/page.cpp @@ -119,11 +119,8 @@ void Page::update() 15 // @TODO ); - GioSocketClient_RefPtr->connect_to_host_async( - pageNavbar->get_request_host(), - pageNavbar->get_request_port().empty() ? 1965 : std::stoi( - pageNavbar->get_request_port() - ), + GioSocketClient_RefPtr->connect_to_uri_async( + pageNavbar->get_request_text(), 1965, [this](const Glib::RefPtr & result) { set(