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;
|
||||
|
||||
if ( q->animator() )
|
||||
if (q->animator()) {
|
||||
q->animator()->setGeometry(item, newGeometry);
|
||||
else
|
||||
} else {
|
||||
item->setGeometry(newGeometry);
|
||||
}
|
||||
|
||||
return newPos;
|
||||
}
|
||||
|
@ -53,7 +53,6 @@ UiLoader::UiLoader( QObject *parent )
|
||||
<< "Label"
|
||||
<< "PushButton"
|
||||
<< "RadioButton"
|
||||
<< "Rectangle"
|
||||
<< "Meter";
|
||||
|
||||
d->layouts
|
||||
@ -95,9 +94,6 @@ Widget *UiLoader::createWidget( const QString &className, Widget *parent )
|
||||
else if (className == QString("Meter")) {
|
||||
return new Meter( parent );
|
||||
}
|
||||
//else if ( className == QString("Rectangle") ) {
|
||||
// return new Rectangle( parent ); // Constructor here requires a Widget
|
||||
//}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user