Commit ea63b2ce authored by Frederik Gladhorn's avatar Frederik Gladhorn
Browse files

Use hideOsd function instead of its code copied

Summary: The function does exactly the same as these two lines.

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 9431bd13
......@@ -110,8 +110,8 @@ void OsdManager::slotIdentifyOutputs(KScreen::ConfigOperation *op)
void OsdManager::showOsd(const QString& icon, const QString& text)
connect(new KScreen::GetConfigOperation(), &KScreen::GetConfigOperation::finished,
this, [this, icon, text] (KScreen::ConfigOperation *op) {
if (op->hasError()) {
Supports Markdown
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