Fix build in debug mode.
It seems some plasma API has changed, so I just commented it out. It can be uncommented by someone who knows what to change it to.
This commit is contained in:
parent
de7289fe14
commit
d8258866f4
@ -37,6 +37,7 @@
|
|||||||
#include <qmimedatabase.h>
|
#include <qmimedatabase.h>
|
||||||
|
|
||||||
#include <kaction.h>
|
#include <kaction.h>
|
||||||
|
#include <kdebug.h>
|
||||||
#include <kcoreauthorized.h>
|
#include <kcoreauthorized.h>
|
||||||
#include <klocalizedstring.h>
|
#include <klocalizedstring.h>
|
||||||
#include <kservicetypetrader.h>
|
#include <kservicetypetrader.h>
|
||||||
|
@ -502,7 +502,7 @@ QList<Plasma::Containment *> CoronaPrivate::importLayout(const KConfigGroup &con
|
|||||||
containmentsIds.insert(c->id());
|
containmentsIds.insert(c->id());
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Restored Containment" << c->pluginName();
|
// kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Restored Containment" << c->pluginName();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -510,7 +510,7 @@ QList<Plasma::Containment *> CoronaPrivate::importLayout(const KConfigGroup &con
|
|||||||
containment->updateConstraints(Plasma::StartupCompletedConstraint);
|
containment->updateConstraints(Plasma::StartupCompletedConstraint);
|
||||||
emit q->containmentAdded(containment);
|
emit q->containmentAdded(containment);
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment" << containment->name();
|
// kDebug() << "!!{} STARTUP TIME" << QTime().msecsTo(QTime::currentTime()) << "Containment" << containment->name();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include <kaction.h>
|
#include <kaction.h>
|
||||||
#include <kactioncollection.h>
|
#include <kactioncollection.h>
|
||||||
|
#include <kdebug.h>
|
||||||
#include <kiconloader.h>
|
#include <kiconloader.h>
|
||||||
#include <klocalizedstring.h>
|
#include <klocalizedstring.h>
|
||||||
#include <kwindowsystem.h>
|
#include <kwindowsystem.h>
|
||||||
@ -109,7 +110,7 @@ void ContainmentPrivate::setScreen(int newScreen)
|
|||||||
if (currently && currently != q) {
|
if (currently && currently != q) {
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
kDebug() << "currently is on screen" << currently->screen()
|
kDebug() << "currently is on screen" << currently->screen()
|
||||||
<< "desktop" << currently->desktop()
|
// << "desktop" << currently->desktop()
|
||||||
<< "and is" << currently->activity()
|
<< "and is" << currently->activity()
|
||||||
<< (QObject*)currently << "i'm" << (QObject*)q;
|
<< (QObject*)currently << "i'm" << (QObject*)q;
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user