debug no longer needed, problem solved.
svn path=/trunk/KDE/kdelibs/; revision=1071845
This commit is contained in:
parent
ae239eed3f
commit
9685752853
@ -2751,7 +2751,6 @@ KConfigGroup *AppletPrivate::mainConfigGroup()
|
||||
|
||||
Containment *c = q->containment();
|
||||
Applet *parentApplet = qobject_cast<Applet *>(q->parent());
|
||||
kDebug() << "going to make the appletConfig" << parentApplet << c;
|
||||
if (parentApplet && parentApplet != static_cast<Applet *>(c)) {
|
||||
// this applet is nested inside another applet! use it's config
|
||||
// as the parent group in the config
|
||||
@ -2770,9 +2769,7 @@ KConfigGroup *AppletPrivate::mainConfigGroup()
|
||||
newGroup = true;
|
||||
}
|
||||
|
||||
kDebug() << "appletConfig is" << (appletConfig.isValid() ? "valid" : "not valid");
|
||||
mainConfig = new KConfigGroup(&appletConfig, QString::number(appletId));
|
||||
kDebug() << "mainConfig is" << (mainConfig->isValid() ? "valid" : "not valid");
|
||||
}
|
||||
|
||||
if (newGroup) {
|
||||
|
@ -705,7 +705,6 @@ void PopupAppletPrivate::updateDialogPosition()
|
||||
preferredHeight = dialog->graphicsWidget()->preferredSize().height();
|
||||
}
|
||||
|
||||
kDebug() << "about to use sizeGroup which is" << (sizeGroup.isValid() ? "valid" : "not valid");
|
||||
const int width = qMin(sizeGroup.readEntry("DialogWidth", preferredWidth),
|
||||
corona->screenGeometry(-1).width() - 50);
|
||||
const int height = qMin(sizeGroup.readEntry("DialogHeight", preferredHeight),
|
||||
|
Loading…
Reference in New Issue
Block a user