more unused code removed
This commit is contained in:
parent
da77944f67
commit
847bdbedc3
@ -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"
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user