SVN_SILENT style guide fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738950
This commit is contained in:
parent
9b29f430db
commit
14c8999f12
@ -154,10 +154,11 @@ public:
|
|||||||
|
|
||||||
// qDebug() << "Item geometry: " << newGeometry;
|
// qDebug() << "Item geometry: " << newGeometry;
|
||||||
|
|
||||||
if ( q->animator() )
|
if (q->animator()) {
|
||||||
q->animator()->setGeometry(item, newGeometry);
|
q->animator()->setGeometry(item, newGeometry);
|
||||||
else
|
} else {
|
||||||
item->setGeometry(newGeometry);
|
item->setGeometry(newGeometry);
|
||||||
|
}
|
||||||
|
|
||||||
return newPos;
|
return newPos;
|
||||||
}
|
}
|
||||||
|
@ -53,7 +53,6 @@ UiLoader::UiLoader( QObject *parent )
|
|||||||
<< "Label"
|
<< "Label"
|
||||||
<< "PushButton"
|
<< "PushButton"
|
||||||
<< "RadioButton"
|
<< "RadioButton"
|
||||||
<< "Rectangle"
|
|
||||||
<< "Meter";
|
<< "Meter";
|
||||||
|
|
||||||
d->layouts
|
d->layouts
|
||||||
@ -95,9 +94,6 @@ Widget *UiLoader::createWidget( const QString &className, Widget *parent )
|
|||||||
else if (className == QString("Meter")) {
|
else if (className == QString("Meter")) {
|
||||||
return new Meter( parent );
|
return new Meter( parent );
|
||||||
}
|
}
|
||||||
//else if ( className == QString("Rectangle") ) {
|
|
||||||
// return new Rectangle( parent ); // Constructor here requires a Widget
|
|
||||||
//}
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user