more unused code removed

This commit is contained in:
Aaron Seigo 2011-08-07 09:54:47 +02:00
parent da77944f67
commit 847bdbedc3
2 changed files with 1 additions and 14 deletions

View File

@ -79,15 +79,4 @@ void PlasmaKPartCorona::printScriptMessage(const QString &error)
kDebug() << "Startup script: " << error;
}
Plasma::Containment* PlasmaKPartCorona::containment()
{
// We only have one containment, so just try and return the first one
QList<Plasma::Containment*> list = containments();
if (!list.isEmpty()) {
return list.first();
}
return 0;
}
#include "plasmakpartcorona.moc"

View File

@ -38,10 +38,8 @@ Q_OBJECT
public:
PlasmaKPartCorona(QObject* parent);
Plasma::Containment *containment();
protected:
void loadDefaultLayout();
private:
void evaluateScripts(const QStringList &scripts);
private Q_SLOTS: