Format Linux webview socket path using std::format

This commit is contained in:
Ilya Fedin
2025-08-19 02:16:12 +04:00
committed by John Preston
parent b4bca16109
commit 063085a6bb
@@ -712,11 +712,10 @@ void start() {
GLib::set_prgname(cExeName().toStdString());
GLib::set_application_name(AppName.data());
Webview::WebKitGTK::SetSocketPath(u"%1/%2-%3-webview-%4"_q.arg(
Webview::WebKitGTK::SetSocketPath(u"%1/%2-%3-webview-{}"_q.arg(
QDir::tempPath(),
HashForSocketPath(),
u"TD"_q,//QCoreApplication::applicationName(), - make path smaller.
u"%1"_q).toStdString());
u"TD"_q).toStdString());
InstallLauncher();
}