src/plugins/accessible/widgets/simplewidgets.cpp
changeset 30 5dc02b23752f
parent 18 2f34d5167611
--- a/src/plugins/accessible/widgets/simplewidgets.cpp	Wed Jun 23 19:07:03 2010 +0300
+++ b/src/plugins/accessible/widgets/simplewidgets.cpp	Tue Jul 06 15:10:48 2010 +0300
@@ -605,7 +605,11 @@
 /*! \reimp */
 QString QAccessibleDisplay::imageDescription()
 {
+#ifndef QT_NO_TOOLTIP
     return widget()->toolTip();
+#else
+    return QString::null;
+#endif
 }
 
 /*! \reimp */