remove some dead code, simplify
This commit is contained in:
parent
7e468ca59c
commit
da77944f67
@ -33,11 +33,6 @@
|
||||
|
||||
PlasmaKPartCorona::PlasmaKPartCorona(QObject *parent)
|
||||
: Plasma::Corona(parent)
|
||||
{
|
||||
init();
|
||||
}
|
||||
|
||||
void PlasmaKPartCorona::init()
|
||||
{
|
||||
enableAction("Lock Widgets", false);
|
||||
enableAction("Shortcut Settings", false);
|
||||
@ -47,7 +42,6 @@ void PlasmaKPartCorona::init()
|
||||
void PlasmaKPartCorona::loadDefaultLayout()
|
||||
{
|
||||
// used to force a save into the config file
|
||||
KConfigGroup invalidConfig;
|
||||
Plasma::Containment *c = addContainment(QString());
|
||||
|
||||
if (!c) {
|
||||
|
@ -39,12 +39,10 @@ public:
|
||||
PlasmaKPartCorona(QObject* parent);
|
||||
|
||||
Plasma::Containment *containment();
|
||||
|
||||
void loadDefaultLayout();
|
||||
|
||||
private:
|
||||
void evaluateScripts(const QStringList &scripts);
|
||||
void init();
|
||||
|
||||
private Q_SLOTS:
|
||||
void printScriptError(const QString &error);
|
||||
|
Loading…
Reference in New Issue
Block a user