some useful debug output, which helped me realize just how badly we need PanelLayout ... and perhaps just how broken BoxLayout is? hm.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=730535
This commit is contained in:
Aaron J. Seigo 2007-10-29 05:01:35 +00:00
parent 84881131e6
commit d71b8d5a5a
2 changed files with 2 additions and 1 deletions

View File

@ -421,6 +421,7 @@ void Applet::save(KConfigGroup* group) const
group->writeEntry("plugin", pluginName());
//FIXME: for containments, we need to have some special values here w/regards to
// screen affinity (e.g. "bottom of screen 0")
//kDebug() << pluginName() << "geometry is" << geometry() << "pos is" << pos() << "bounding rect is" << boundingRect();
group->writeEntry("geometry", geometry());
Containment* c = containment();

View File

@ -174,7 +174,7 @@ void Corona::loadApplets(const QString& configname)
continue;
}
//kDebug() << "creating applet " << cg.name() << "in containment" << cid;
//kDebug() << "creating applet " << cg.name() << "in containment" << cid << "at geometry" << cg.readEntry("geometry", QRectF());
int appId = cg.name().left(cg.name().indexOf('-')).toUInt();
c->addApplet(cg.readEntry("plugin", QString()), QVariantList(),
appId, cg.readEntry("geometry", QRectF()), true);