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.
|
||||
corona();
|
||||
}
|
||||
@ -173,9 +169,4 @@ bool PlasmaKPart::setPluginLoader(Plasma::PluginLoader *loader)
|
||||
return true;
|
||||
}
|
||||
|
||||
QString PlasmaKPart::category()
|
||||
{
|
||||
return m_category;
|
||||
}
|
||||
|
||||
#include "plasmakpart.moc"
|
||||
|
@ -54,7 +54,6 @@ public:
|
||||
|
||||
PlasmaKPartCorona *corona();
|
||||
Plasma::Containment *containment();
|
||||
QString category();
|
||||
|
||||
public Q_SLOTS:
|
||||
/**
|
||||
@ -107,7 +106,6 @@ private Q_SLOTS:
|
||||
private:
|
||||
PlasmaKPartCorona* m_corona;
|
||||
PlasmaKPartView* m_view;
|
||||
QString m_category;
|
||||
KService::Ptr m_service;
|
||||
QHash<QString,Plasma::Applet*>* m_appletList;
|
||||
QVBoxLayout* m_configLayout;
|
||||
|
Loading…
Reference in New Issue
Block a user