Skip to content

Commit 71aea4f

Browse files
CoBCbear101
authored andcommitted
Base accessibility detection on Linux on a11y IsEnabled property instead of ScreenReaderEnabled
1 parent 720a28b commit 71aea4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/qtTeamTalk/mainwindow.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,7 @@ void MainWindow::initialScreenReaderSetup()
880880
QDBusInterface interface("org.a11y.Bus", "/org/a11y/bus", "org.a11y.Status", QDBusConnection::sessionBus());
881881
if (interface.isValid())
882882
{
883-
SRActive = interface.property("ScreenReaderEnabled").toBool();
883+
SRActive = interface.property("IsEnabled").toBool();
884884
}
885885
#endif
886886
if (SRActive)

0 commit comments

Comments
 (0)