Disable all TextAreas
Initializing a TextArea crashes the shell, there's a Qt bug https://bugreports.qt-project.org/browse/QTBUG-30925 filed about this. Since we now can't even build against an old-enough Qt, which doesn't suffer from this crasher, disable the textareas in our code until it's fixed.
This commit is contained in:
parent
6b185d2ba4
commit
9900faefa0
@ -67,10 +67,10 @@ PlasmaComponents.Page {
|
||||
clearButtonShown: true
|
||||
}
|
||||
}
|
||||
PlasmaComponents.TextArea {
|
||||
width: parent.width
|
||||
height: _h*2
|
||||
}
|
||||
// PlasmaComponents.TextArea {
|
||||
// width: parent.width
|
||||
// height: _h*2
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -48,11 +48,11 @@ Item {
|
||||
id: localeItem
|
||||
anchors { left: parent.left; right: parent.right; top: tx.bottom; }
|
||||
}
|
||||
PlasmaComponents.TextArea {
|
||||
anchors { left: parent.left; right: parent.right; top: localeItem.bottom; }
|
||||
width: parent.width
|
||||
height: 80
|
||||
}
|
||||
// PlasmaComponents.TextArea {
|
||||
// anchors { left: parent.left; right: parent.right; top: localeItem.bottom; }
|
||||
// width: parent.width
|
||||
// height: 80
|
||||
// }
|
||||
PlasmaComponents.Button {
|
||||
id: thanks
|
||||
anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom; bottomMargin: 24; }
|
||||
|
@ -99,30 +99,30 @@ PlasmaComponents.Page {
|
||||
}
|
||||
}
|
||||
|
||||
PlasmaComponents.TextArea {
|
||||
id: editor
|
||||
anchors {
|
||||
top: heading.bottom;
|
||||
topMargin: _s
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
bottom: applyButton.top
|
||||
bottomMargin: _s
|
||||
|
||||
}
|
||||
// text: { "void main(void) {\
|
||||
// gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
|
||||
// }"
|
||||
// PlasmaComponents.TextArea {
|
||||
// id: editor
|
||||
// anchors {
|
||||
// top: heading.bottom;
|
||||
// topMargin: _s
|
||||
// left: parent.left
|
||||
// right: parent.right
|
||||
// bottom: applyButton.top
|
||||
// bottomMargin: _s
|
||||
//
|
||||
// }
|
||||
// // text: { "void main(void) {\
|
||||
// // gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
|
||||
// // }"
|
||||
// // }
|
||||
// text:"
|
||||
// void main(void) {
|
||||
// gl_FragColor = vec4(0.2, 0.8, 0.6, 0.3);
|
||||
// }
|
||||
// "
|
||||
//
|
||||
// // width: parent.width
|
||||
// // parent.height-height: _h*2
|
||||
// }
|
||||
text:"
|
||||
void main(void) {
|
||||
gl_FragColor = vec4(0.2, 0.8, 0.6, 0.3);
|
||||
}
|
||||
"
|
||||
|
||||
// width: parent.width
|
||||
// parent.height-height: _h*2
|
||||
}
|
||||
|
||||
PlasmaComponents.Button {
|
||||
id: applyButton
|
||||
|
@ -50,7 +50,7 @@ Item {
|
||||
PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; }
|
||||
PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; }
|
||||
PlasmaComponents.TabButton { tab: simpleExample; text: tab.pageName; }
|
||||
PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; }
|
||||
//PlasmaComponents.TabButton { tab: vertexPage; iconSource: vertexPage.icon; }
|
||||
}
|
||||
|
||||
PlasmaComponents.TabGroup {
|
||||
@ -77,9 +77,9 @@ Item {
|
||||
SimpleExample {
|
||||
id: simpleExample
|
||||
}
|
||||
EditorPage {
|
||||
id: vertexPage
|
||||
}
|
||||
// EditorPage {
|
||||
// id: vertexPage
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user