Update comment

This commit is contained in:
Kovid Goyal 2021-11-22 10:11:18 +05:30
parent d17ea4b735
commit 30761d8a4d
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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; }