]> git.lyx.org Git - features.git/commitdiff
Fix Qt4 compilation.
authorPavel Sanda <sanda@lyx.org>
Thu, 27 Aug 2020 12:05:22 +0000 (14:05 +0200)
committerPavel Sanda <sanda@lyx.org>
Thu, 27 Aug 2020 12:05:22 +0000 (14:05 +0200)
src/frontends/qt/qt_helpers.cpp

index 87b6593a71c7be79bebd3581b997029aa9b2c3c0..2e5e7da9c5f7e45b0db02db857c9ad3152a174d0 100644 (file)
@@ -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)