Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions panels/dock/searchitem/searchitem.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
#pragma once

#include "../dockiteminfo.h"
#include "applet.h"

Check warning on line 8 in panels/dock/searchitem/searchitem.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "applet.h" not found.
#include "dsglobal.h"

Check warning on line 9 in panels/dock/searchitem/searchitem.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: "dsglobal.h" not found.

#include <QGuiApplication>

Check warning on line 11 in panels/dock/searchitem/searchitem.h

View workflow job for this annotation

GitHub Actions / cppcheck

Include file: <QGuiApplication> not found. Please note: Cppcheck does not need standard library headers to get proper results.

class QDBusMessage;
namespace dock
{
Expand Down Expand Up @@ -36,6 +38,11 @@
return m_grandSearchVisible;
}

bool load() override
{
return QGuiApplication::platformName() != QStringLiteral("wayland");
}

Q_SIGNALS:
void visibleChanged(bool);
void grandSearchVisibleChanged(bool);
Expand Down
Loading