From 18dfe87ec9653bfe3c5886483d73cd8bc09a7ce5 Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Tue, 17 Jan 2012 12:29:47 +0100
Subject: [PATCH] Welcomepage: crashfix see QTBUG-23445

In combination with commit
fe068869b946660f57ff01b19fa733c2c36a899a
this seems to fix the issue.

Task-Number: QTCREATORBUG-6803

Change-Id: I845e18ff3abb55468b1afdae9785f74a4b522356
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
---
 share/qtcreator/welcomescreen/welcomescreen.qml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/share/qtcreator/welcomescreen/welcomescreen.qml b/share/qtcreator/welcomescreen/welcomescreen.qml
index ce1c3058bfe..8729d63c8bb 100644
--- a/share/qtcreator/welcomescreen/welcomescreen.qml
+++ b/share/qtcreator/welcomescreen/welcomescreen.qml
@@ -54,7 +54,8 @@ Rectangle {
         }
 
         width: Math.min(1024, parent.width)
-        anchors.topMargin: 0
+        //this is a workaround for QTCREATORBUG-6803
+        anchors.topMargin: (root.height > 700) ? 0 : 0
 
         anchors.top: parent.top
         anchors.bottom: parent.bottom
-- 
GitLab