Compile with -no-feature-tooltip
Change-Id: I6093559dd7b8df578ebd050655fb9bd07e5f6809 Reviewed-by: Lars Knoll <lars.knoll@qt.io>bb10
parent
033fa96b6c
commit
08e8a02e51
|
|
@ -130,9 +130,11 @@ public:
|
|||
case QAccessible::Accelerator:
|
||||
str = qt_accHotKey(m_parent->tabText(m_index));
|
||||
break;
|
||||
#if QT_CONFIG(tooltip)
|
||||
case QAccessible::Description:
|
||||
str = m_parent->tabToolTip(m_index);
|
||||
break;
|
||||
#endif
|
||||
case QAccessible::Help:
|
||||
str = m_parent->tabWhatsThis(m_index);
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -550,9 +550,11 @@ QString QAccessibleGroupBox::text(QAccessible::Text t) const
|
|||
case QAccessible::Name:
|
||||
txt = qt_accStripAmp(groupBox()->title());
|
||||
break;
|
||||
#if QT_CONFIG(tooltip)
|
||||
case QAccessible::Description:
|
||||
txt = groupBox()->toolTip();
|
||||
break;
|
||||
#endif
|
||||
case QAccessible::Accelerator:
|
||||
txt = qt_accHotKey(groupBox()->title());
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -104,7 +104,9 @@ QSystemTrayIconSys::QSystemTrayIconSys(QSystemTrayIcon *qIn)
|
|||
, q(qIn)
|
||||
{
|
||||
setObjectName(QStringLiteral("QSystemTrayIconSys"));
|
||||
#if QT_CONFIG(tooltip)
|
||||
setToolTip(q->toolTip());
|
||||
#endif
|
||||
setAttribute(Qt::WA_AlwaysShowToolTips, true);
|
||||
setAttribute(Qt::WA_QuitOnClose, false);
|
||||
const QSize size(22, 22); // Gnome, standard size
|
||||
|
|
|
|||
Loading…
Reference in New Issue