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:
parent
f1f1668394
commit
8c21550f18
@ -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)
|
||||
|
||||
|
@ -19,10 +19,6 @@ IndicatorPackage::IndicatorPackage(QObject *parent, const QVariantList &args)
|
||||
{
|
||||
}
|
||||
|
||||
IndicatorPackage::~IndicatorPackage()
|
||||
{
|
||||
}
|
||||
|
||||
void IndicatorPackage::initPackage(KPackage::Package *package)
|
||||
{
|
||||
package->setDefaultPackageRoot(QStringLiteral("latte/indicators"));
|
||||
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user