use units.* in testtheme applet

These calls have moved out of theme.
This commit is contained in:
Sebastian Kügler 2014-01-22 01:35:20 +01:00
parent 847a61b3d8
commit b89902c3e7
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ PlasmaComponents.Page {
Column { Column {
//anchors.fill: parent //anchors.fill: parent
spacing: _s / 4 //spacing: _s / 4
PlasmaExtras.Title { PlasmaExtras.Title {
width: parent.width width: parent.width

View File

@ -52,8 +52,8 @@ Item {
width: cwidth/2 width: cwidth/2
onClicked: { onClicked: {
print("DPI Button onClicked"); print("DPI Button onClicked");
print(units.gridUnit); units.printScreenInfo(dpilabel);
var d = theme.dpi(dpilabel); var d = units.dpi(dpilabel);
dpilabel.text = "\t" + d dpilabel.text = "\t" + d
} }
} }