Merge remote-tracking branch 'origin/5.0'

Conflicts:
	src/plugins/autotest/testresultdelegate.cpp

Change-Id: If172206f231fc2a9f4a672cd2e6eaeaea4988c96
This commit is contained in:
Eike Ziller
2021-08-18 16:14:24 +02:00
82 changed files with 420 additions and 132 deletions

View File

@@ -155,6 +155,8 @@ void ToolTip::show(
{
if (content && content->count()) {
auto tooltipWidget = new FakeToolTip;
// limit the size of the widget to 90% of the screen size to have some context around it
tooltipWidget->setMaximumSize(QGuiApplication::screenAt(pos)->availableSize() * 0.9);
if (contextHelp.isNull()) {
tooltipWidget->setLayout(content);
} else {