get rid of some dead code

This commit is contained in:
Aaron Seigo 2011-07-13 12:32:01 +02:00
parent 6354e56a91
commit 7b1359d2d3
2 changed files with 0 additions and 11 deletions

View File

@ -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"

View File

@ -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;