a11y atspi: Drop 'if (0)' branch

Change-Id: Ie175405298ed03752b48a8b74d23bd5f1b0b148e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
Michael Weghorn 2022-06-15 16:47:17 +02:00
parent c684b8e939
commit ee35afc117

View File

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