1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 05:17:35 +00:00

Applications: Stop lying about string types

This commit is contained in:
Hendiadyoin1 2023-06-11 19:43:46 +02:00 committed by Jelle Raaijmakers
parent 5ff80b60cf
commit a45682dcdc
3 changed files with 3 additions and 3 deletions

View file

@ -110,7 +110,7 @@ MainWidget::MainWidget()
return;
}
m_history.push(path.string());
auto string_path = String::from_utf8(path.string());
auto string_path = String::from_deprecated_string(path.string());
if (string_path.is_error())
return;
open_page(string_path.value());