Add workaround for typo in libatspi VisualdataChanged

Change-Id: I6375d77fac4e743a372f18b3e3d63c128ce51271
Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
This commit is contained in:
Frederik Gladhorn 2012-10-01 12:02:44 +02:00 committed by The Qt Project
parent c4840d55ea
commit fded075ba4

View File

@ -707,7 +707,8 @@ void AtSpiAdaptor::setBitFlag(const QString &flag)
sendObject_text_selection_changed = 1;
} else if (right.startsWith(QLatin1String("ValueChanged"))) {
sendObject_value_changed = 1;
} else if (right.startsWith(QLatin1String("VisibleDataChanged"))) {
} else if (right.startsWith(QLatin1String("VisibleDataChanged"))
|| right.startsWith(QLatin1String("VisibledataChanged"))) { // typo in libatspi
sendObject_visible_data_changed = 1;
} else {
qAtspiDebug() << "WARNING: subscription string not handled:" << flag;