diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2022-06-15 16:47:17 +0200 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2022-08-17 17:02:26 +0200 |
commit | ee35afc1170e379b89665292ad694ed2207a4184 (patch) | |
tree | 24d0d04881b41a6a1f7b3ac990d80de95824c106 /src/gui/accessible | |
parent | c684b8e939650b5c007b990c5c39eea750f45970 (diff) |
a11y atspi: Drop 'if (0)' branch
Change-Id: Ie175405298ed03752b48a8b74d23bd5f1b0b148e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/accessible')
-rw-r--r-- | src/gui/accessible/linux/atspiadaptor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/accessible/linux/atspiadaptor.cpp b/src/gui/accessible/linux/atspiadaptor.cpp index ddd9798289..6a51107531 100644 --- a/src/gui/accessible/linux/atspiadaptor.cpp +++ b/src/gui/accessible/linux/atspiadaptor.cpp @@ -2239,9 +2239,7 @@ bool AtSpiAdaptor::tableInterface(QAccessibleInterface *interface, const QString return false; } - if (0) { - // properties - } else if (function == "GetCaption"_L1) { + if (function == "GetCaption"_L1) { QAccessibleInterface * captionInterface= interface->tableInterface()->caption(); if (captionInterface) { QSpiObjectReference ref = QSpiObjectReference(connection, QDBusObjectPath(pathForInterface(captionInterface))); |