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. // 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"

View File

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