mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Update comment
This commit is contained in:
parent
d17ea4b735
commit
30761d8a4d
@ -32,10 +32,8 @@ class GenericUnixServices : public QGenericUnixServices {
|
|||||||
* leading to a segfault. For example, defaultHintStyleFromMatch() queries
|
* leading to a segfault. For example, defaultHintStyleFromMatch() queries
|
||||||
* the nativeInterface() without checking that it is NULL. See
|
* the nativeInterface() without checking that it is NULL. See
|
||||||
* https://bugreports.qt-project.org/browse/QTBUG-40946
|
* 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
|
* Also for the portal BS, we need to ignore openUrl and openDocument
|
||||||
* keep it unknown, since the headless QPA is used in contexts where a desktop environment
|
|
||||||
* does not make sense anyway.
|
|
||||||
*/
|
*/
|
||||||
QByteArray desktopEnvironment() const { return QByteArrayLiteral("UNKNOWN"); }
|
QByteArray desktopEnvironment() const { return QByteArrayLiteral("UNKNOWN"); }
|
||||||
bool openUrl(const QUrl &url) { Q_UNUSED(url); return false; }
|
bool openUrl(const QUrl &url) { Q_UNUSED(url); return false; }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user