From: Pavel Sanda Date: Thu, 27 Aug 2020 12:05:22 +0000 (+0200) Subject: Fix Qt4 compilation. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~274 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=28dd0e1f21e620b1ee13340a4c9b6beeb56abc8a;p=features.git Fix Qt4 compilation. --- diff --git a/src/frontends/qt/qt_helpers.cpp b/src/frontends/qt/qt_helpers.cpp index 87b6593a71..2e5e7da9c5 100644 --- a/src/frontends/qt/qt_helpers.cpp +++ b/src/frontends/qt/qt_helpers.cpp @@ -292,14 +292,14 @@ void showDirectory(FileName const & directory) if (!qurl.isValid()) { frontend::Alert::error(_("Invalid URL"), bformat(_("The URL `%1$s' could not be resolved."), - qstring_to_ucs4(qurl.url()))); + qstring_to_ucs4(qurl.toString()))); return; } if (!QDesktopServices::openUrl(qurl)) frontend::Alert::error(_("URL could not be accessed"), bformat(_("The URL `%1$s' could not be opened although it exists!"), - qstring_to_ucs4(qurl.url()))); + qstring_to_ucs4(qurl.toString()))); } void showTarget(string const & target, string const & pdfv, string const & psv)