mirror of
https://github.com/arcan1s/awesome-widgets.git
synced 2025-07-15 14:55:48 +00:00
* remove panel hidding functions (comment in)
* remove ps calls from DE. Now processes are reading from /proc * remove qdbus calls from DE. Now mpris information is reading using native DBus functions * update graphicalitem in KDE4 TODO: * widgets resizing * tests and optimizations * update DE configuration for KDE4 package
This commit is contained in:
@ -20,7 +20,6 @@
|
||||
#include <KI18n/KLocalizedString>
|
||||
#include <KNotifications/KNotification>
|
||||
#include <KWindowSystem/KWindowSystem>
|
||||
#include <Plasma/Corona>
|
||||
|
||||
#include <QBuffer>
|
||||
#include <QDebug>
|
||||
@ -459,13 +458,11 @@ QList<Plasma::Containment *> DPAdds::getPanels()
|
||||
{
|
||||
if (debug) qDebug() << PDEBUG;
|
||||
|
||||
ScriptEngine *env = new ScriptEngine(this);
|
||||
Plasma::Corona *corona = env->corona();
|
||||
// Plasma::Corona *corona = new Plasma::Corona(this);
|
||||
QList<Plasma::Containment *> panels;
|
||||
for (int i=0; i<corona->containments().count(); i++)
|
||||
if (corona->containments()[i]->containmentType() == Plasma::Types::ContainmentType::PanelContainment)
|
||||
panels.append(corona->containments()[i]);
|
||||
// for (int i=0; i<corona->containments().count(); i++)
|
||||
// if (corona->containments()[i]->containmentType() == Plasma::Types::ContainmentType::PanelContainment)
|
||||
// panels.append(corona->containments()[i]);
|
||||
// delete corona;
|
||||
|
||||
return panels;
|
||||
|
Reference in New Issue
Block a user