summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2019-10-09 09:55:52 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-10-09 14:04:29 +0200
commit16d347e4b31cc6a59d920d91b877f0b721c12a0b (patch)
treebc9491093a13dd01c3a5cd6eab2b6fb8a67421f1
parent5b75f4edd91a99945f04f34f78875d99e9d919bf (diff)
downloadqtscript-16d347e4b31cc6a59d920d91b877f0b721c12a0b.tar.gz
Fix build with -no-feature-tooltip
Task-number: QTBUG-79048 Change-Id: I287c580785b8b22c877e7a6b885402fbe1bff249 Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
-rw-r--r--src/scripttools/debugging/qscriptdebugger.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/scripttools/debugging/qscriptdebugger.cpp b/src/scripttools/debugging/qscriptdebugger.cpp
index 5f589d4..5549f92 100644
--- a/src/scripttools/debugging/qscriptdebugger.cpp
+++ b/src/scripttools/debugging/qscriptdebugger.cpp
@@ -656,7 +656,9 @@ public:
}
tip = lines.join(QLatin1String("\n"));
}
+#if QT_CONFIG(tooltip)
QToolTip::showText(m_pos, tip);
+#endif
finish();
}