From e6e28fd4814e1f513773288710e1bcb3cfad0028 Mon Sep 17 00:00:00 2001 From: "Felix (xq) Queißner" Date: Mon, 8 Jun 2020 20:27:06 +0200 Subject: Fixes bug with URL escaping, adds experimental text highlighting --- src/browsertab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/browsertab.cpp') diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 4bbfa20..3f9f5bb 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -73,7 +73,7 @@ void BrowserTab::navigateTo(const QUrl &url, PushToHistory mode) this->timer.start(); this->current_location = url; - this->ui->url_bar->setText(url.toString()); + this->ui->url_bar->setText(url.toString(QUrl::FormattingOptions(QUrl::FullyEncoded))); if(not gemini_client.cancelRequest()) { QMessageBox::warning(this, "Kristall", "Failed to cancel running gemini request!"); -- cgit v1.2.3