Commit ed42cf46 authored by Frederik Gladhorn's avatar Frederik Gladhorn

Remove unused function

Reviewers: #plasma, davidedmundson

Reviewed By: #plasma, davidedmundson

Subscribers: davidedmundson, broulik, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D14361
parent f4b0d85f
......@@ -439,16 +439,5 @@ void KScreenDaemon::disableOutput(KScreen::ConfigPtr &config, KScreen::OutputPtr
output->setEnabled(false);
}
KScreen::OutputPtr KScreenDaemon::findEmbeddedOutput(const KScreen::ConfigPtr &config)
{
Q_FOREACH (const KScreen::OutputPtr &output, config->outputs()) {
if (output->type() == KScreen::Output::Panel) {
return output;
}
}
return KScreen::OutputPtr();
}
#include "daemon.moc"
......@@ -70,7 +70,6 @@ class Q_DECL_EXPORT KScreenDaemon : public KDEDModule
virtual void doApplyConfig(const KScreen::ConfigPtr &config);
void monitorConnectedChange();
static KScreen::OutputPtr findEmbeddedOutput(const KScreen::ConfigPtr &config);
void disableOutput(KScreen::ConfigPtr &config, KScreen::OutputPtr &output);
void showOsd(const QString &icon, const QString &text);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment