SVN_SILENT style guide fixes

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=738950
This commit is contained in:
Aaron J. Seigo 2007-11-20 00:47:20 +00:00
parent 9b29f430db
commit 14c8999f12
3 changed files with 34 additions and 37 deletions

View File

@ -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;
}

View File

@ -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;
}