diff --git a/kpart/plasmakpart.cpp b/kpart/plasmakpart.cpp index 9af169f55..a6a2d0ec9 100644 --- a/kpart/plasmakpart.cpp +++ b/kpart/plasmakpart.cpp @@ -45,8 +45,7 @@ K_EXPORT_PLUGIN(plasmaKPartFactory("plasma-kpart","plasma-kpart") ) PlasmaKPart::PlasmaKPart(QWidget *parentWidget, QObject *parent, const QVariantList &args) : KParts::ReadOnlyPart(parent), m_corona(0), - m_view(new PlasmaKPartView(0, 1, parentWidget)), - m_service(0) + m_view(new PlasmaKPartView(0, 1, parentWidget)) { setComponentData(plasmaKPartFactory::componentData()); diff --git a/kpart/plasmakpart.h b/kpart/plasmakpart.h index fa8f3546c..7b0473b79 100644 --- a/kpart/plasmakpart.h +++ b/kpart/plasmakpart.h @@ -35,7 +35,6 @@ namespace Plasma } #include -#include #include class QVariant; @@ -94,7 +93,6 @@ private Q_SLOTS: private: PlasmaKPartCorona* m_corona; PlasmaKPartView* m_view; - KService::Ptr m_service; QHash* m_appletList; QVBoxLayout* m_configLayout; };