From d71b8d5a5ad2f4e309772a85e515a36a867497d2 Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Mon, 29 Oct 2007 05:01:35 +0000 Subject: [PATCH] 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 --- applet.cpp | 1 + corona.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/applet.cpp b/applet.cpp index 0be5f93f2..56098d7d6 100644 --- a/applet.cpp +++ b/applet.cpp @@ -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(); diff --git a/corona.cpp b/corona.cpp index 1974595f7..6fae2fa53 100644 --- a/corona.cpp +++ b/corona.cpp @@ -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);