diff --git a/src/calibre/headless/headless_integration.cpp b/src/calibre/headless/headless_integration.cpp index ff40feecdc..e87bf2c4ca 100644 --- a/src/calibre/headless/headless_integration.cpp +++ b/src/calibre/headless/headless_integration.cpp @@ -32,10 +32,8 @@ class GenericUnixServices : public QGenericUnixServices { * leading to a segfault. For example, defaultHintStyleFromMatch() queries * the nativeInterface() without checking that it is NULL. See * https://bugreports.qt-project.org/browse/QTBUG-40946 - * This is no longer strictly necessary since we implement our own fontconfig database - * (a patched version of the Qt fontconfig database). However, it is probably a good idea to - * keep it unknown, since the headless QPA is used in contexts where a desktop environment - * does not make sense anyway. + * + * Also for the portal BS, we need to ignore openUrl and openDocument */ QByteArray desktopEnvironment() const { return QByteArrayLiteral("UNKNOWN"); } bool openUrl(const QUrl &url) { Q_UNUSED(url); return false; }