get rid of some dead code
This commit is contained in:
parent
6354e56a91
commit
7b1359d2d3
@ -66,10 +66,6 @@ PlasmaKPart::PlasmaKPart(QWidget *parentWidget, QObject *parent, const QVariantL
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (args.length() > 1) {
|
|
||||||
m_category = args.at(1).value<QString>();
|
|
||||||
}
|
|
||||||
|
|
||||||
// this line initializes the corona.
|
// this line initializes the corona.
|
||||||
corona();
|
corona();
|
||||||
}
|
}
|
||||||
@ -173,9 +169,4 @@ bool PlasmaKPart::setPluginLoader(Plasma::PluginLoader *loader)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
QString PlasmaKPart::category()
|
|
||||||
{
|
|
||||||
return m_category;
|
|
||||||
}
|
|
||||||
|
|
||||||
#include "plasmakpart.moc"
|
#include "plasmakpart.moc"
|
||||||
|
@ -54,7 +54,6 @@ public:
|
|||||||
|
|
||||||
PlasmaKPartCorona *corona();
|
PlasmaKPartCorona *corona();
|
||||||
Plasma::Containment *containment();
|
Plasma::Containment *containment();
|
||||||
QString category();
|
|
||||||
|
|
||||||
public Q_SLOTS:
|
public Q_SLOTS:
|
||||||
/**
|
/**
|
||||||
@ -107,7 +106,6 @@ private Q_SLOTS:
|
|||||||
private:
|
private:
|
||||||
PlasmaKPartCorona* m_corona;
|
PlasmaKPartCorona* m_corona;
|
||||||
PlasmaKPartView* m_view;
|
PlasmaKPartView* m_view;
|
||||||
QString m_category;
|
|
||||||
KService::Ptr m_service;
|
KService::Ptr m_service;
|
||||||
QHash<QString,Plasma::Applet*>* m_appletList;
|
QHash<QString,Plasma::Applet*>* m_appletList;
|
||||||
QVBoxLayout* m_configLayout;
|
QVBoxLayout* m_configLayout;
|
||||||
|
Loading…
Reference in New Issue
Block a user