WelcomeScreen: QImageProvider fix

Adapting to fix for QTBUG-38127. Otherwise, the icons are too big in a
HighDPI case.

Task-number: QTBUG-38127
Change-Id: I70e27c06eaf1f2efa89c31d0a190aba52af28038
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
Alessandro Portale
2016-04-13 23:34:17 +02:00
parent 28dcb42413
commit bdda00d7cb
2 changed files with 6 additions and 0 deletions

View File

@@ -41,6 +41,8 @@ Rectangle {
id: icon
x: 11
y: 6
height: 16
width: 16
source: "image://icons/project/Welcome_ForegroundSecondaryColor"
}

View File

@@ -49,6 +49,8 @@ Item {
source: "image://icons/session/Welcome_ForegroundSecondaryColor"
x: 11
anchors.verticalCenter: parent.verticalCenter
height: 16
width: 16
}
NativeText {
@@ -196,6 +198,8 @@ Item {
visible: (collapseArea.containsMouse || delegate.expanded || titleArea.containsMouse)
source: "image://icons/expandarrow/Welcome_ForegroundSecondaryColor"
rotation: delegate.expanded ? 180 : 0
height: 16
width: 16
}
}