Commit 1bd31456 authored by Harald Sitter's avatar Harald Sitter 🌺

warning--

Summary: active is unused, don't declare it

Test Plan: no compiler warning raised about the unused var anymore

Reviewers: apol

Reviewed By: apol

Subscribers: anthonyfieroni, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D7065
parent 44a3a193
......@@ -135,7 +135,7 @@ void PlasmaWindowedView::setApplet(Plasma::Applet *applet)
});
m_statusNotifier->contextMenu()->addAction(closeAction);
connect(m_statusNotifier.data(), &KStatusNotifierItem::activateRequested, this, [this](bool active, const QPoint& /*pos*/){
connect(m_statusNotifier.data(), &KStatusNotifierItem::activateRequested, this, [this](bool /*active*/, const QPoint& /*pos*/){
if (isVisible() && isActive()) {
hide();
} else {
......
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