remove some dead code, simplify

This commit is contained in:
Aaron Seigo 2011-08-07 09:53:28 +02:00
parent 7e468ca59c
commit da77944f67
2 changed files with 0 additions and 8 deletions

View File

@ -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) {

View File

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