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 {
//anchors.fill: parent
spacing: _s / 4
//spacing: _s / 4
PlasmaExtras.Title {
width: parent.width

View File

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