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:
Sebastian Kügler 2013-06-11 02:10:06 +02:00
parent 6b185d2ba4
commit 9900faefa0
4 changed files with 36 additions and 36 deletions

View File

@ -67,10 +67,10 @@ PlasmaComponents.Page {
clearButtonShown: true clearButtonShown: true
} }
} }
PlasmaComponents.TextArea { // PlasmaComponents.TextArea {
width: parent.width // width: parent.width
height: _h*2 // height: _h*2
} // }
} }
} }

View File

@ -48,11 +48,11 @@ Item {
id: localeItem id: localeItem
anchors { left: parent.left; right: parent.right; top: tx.bottom; } anchors { left: parent.left; right: parent.right; top: tx.bottom; }
} }
PlasmaComponents.TextArea { // PlasmaComponents.TextArea {
anchors { left: parent.left; right: parent.right; top: localeItem.bottom; } // anchors { left: parent.left; right: parent.right; top: localeItem.bottom; }
width: parent.width // width: parent.width
height: 80 // height: 80
} // }
PlasmaComponents.Button { PlasmaComponents.Button {
id: thanks id: thanks
anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom; bottomMargin: 24; } anchors { horizontalCenter: parent.horizontalCenter; bottom: parent.bottom; bottomMargin: 24; }

View File

@ -99,30 +99,30 @@ PlasmaComponents.Page {
} }
} }
PlasmaComponents.TextArea { // PlasmaComponents.TextArea {
id: editor // id: editor
anchors { // anchors {
top: heading.bottom; // top: heading.bottom;
topMargin: _s // topMargin: _s
left: parent.left // left: parent.left
right: parent.right // right: parent.right
bottom: applyButton.top // bottom: applyButton.top
bottomMargin: _s // bottomMargin: _s
//
}
// text: { "void main(void) {\
// gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
// }"
// } // }
text:" // // text: { "void main(void) {\
void main(void) { // // gl_FragColor = vec4(1.0, 0.0, 0.0, 0.3);\
gl_FragColor = vec4(0.2, 0.8, 0.6, 0.3); // // }"
} // // }
" // text:"
// void main(void) {
// width: parent.width // gl_FragColor = vec4(0.2, 0.8, 0.6, 0.3);
// parent.height-height: _h*2 // }
} // "
//
// // width: parent.width
// // parent.height-height: _h*2
// }
PlasmaComponents.Button { PlasmaComponents.Button {
id: applyButton id: applyButton

View File

@ -50,7 +50,7 @@ Item {
PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; } PlasmaComponents.TabButton { tab: wobbleExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; } PlasmaComponents.TabButton { tab: shadowExample; text: tab.pageName; }
PlasmaComponents.TabButton { tab: simpleExample; 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 { PlasmaComponents.TabGroup {
@ -77,9 +77,9 @@ Item {
SimpleExample { SimpleExample {
id: simpleExample id: simpleExample
} }
EditorPage { // EditorPage {
id: vertexPage // id: vertexPage
} // }
} }
} }