summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-27 16:29:39 +0200
committerSamuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>2018-09-28 08:51:36 +0200
commite8bb1c89171af9c9f80734e48ccb77b7044bf1ac (patch)
tree067ede9a10568d27f55bcee462dc56409fbce094 /vcl
parentdefda20708507303c8980433fed90a1e7088ee81 (diff)
Implement Qt5AccessibleWidget::isValid
Change-Id: Ie2ef115bc655d0f64e8b269e73d3343176f115e3 Reviewed-on: https://gerrit.libreoffice.org/61042 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5AccessibleWidget.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index bdc16488c9ca..e0bfa982a591 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -461,7 +461,7 @@ QStringList Qt5AccessibleWidget::keyBindingsForAction(const QString& actionName)
return QStringList();
} */
-bool Qt5AccessibleWidget::isValid() const { return true; }
+bool Qt5AccessibleWidget::isValid() const { return m_pWindow.get() != nullptr; }
QObject* Qt5AccessibleWidget::object() const { return nullptr; }