Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit ea63b2ce authored by Frederik Gladhorn's avatar Frederik Gladhorn

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: https://phabricator.kde.org/D14225
parent 9431bd13
......@@ -110,8 +110,8 @@ void OsdManager::slotIdentifyOutputs(KScreen::ConfigOperation *op)
void OsdManager::showOsd(const QString& icon, const QString& text)
{
qDeleteAll(m_osds);
m_osds.clear();
hideOsd();
connect(new KScreen::GetConfigOperation(), &KScreen::GetConfigOperation::finished,
this, [this, icon, text] (KScreen::ConfigOperation *op) {
if (op->hasError()) {
......
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