1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-28 18:50:40 +03:00

Indicator packageplugin: Clean up a bit of unneeded code

This commit is contained in:
Alexander Lohnau 2022-05-10 06:20:44 +02:00 committed by Luigi Toscano
parent f1f1668394
commit 8c21550f18
3 changed files with 1 additions and 11 deletions

View File

@ -1,7 +1,3 @@
set(indicator_SRCS
)
kcoreaddons_add_plugin(latte_packagestructure_indicator SOURCES indicatorpackage.cpp INSTALL_NAMESPACE kpackage/packagestructure)
set_target_properties(latte_packagestructure_indicator PROPERTIES OUTPUT_NAME latte_indicator)

View File

@ -19,10 +19,6 @@ IndicatorPackage::IndicatorPackage(QObject *parent, const QVariantList &args)
{
}
IndicatorPackage::~IndicatorPackage()
{
}
void IndicatorPackage::initPackage(KPackage::Package *package)
{
package->setDefaultPackageRoot(QStringLiteral("latte/indicators"));

View File

@ -19,11 +19,9 @@ class IndicatorPackage : public KPackage::PackageStructure
Q_OBJECT
public:
explicit IndicatorPackage(QObject *parent = 0, const QVariantList &args = QVariantList());
~IndicatorPackage() override;
explicit IndicatorPackage(QObject *parent, const QVariantList &args );
void initPackage(KPackage::Package *package) override;
//void pathChanged(KPackage::Package *package) override;
};
}