Commit 6e9a81a0 authored by Fushan Wen's avatar Fushan Wen Committed by Nate Graham
Browse files

applets/taskmanager: Remove `groupDialog` property after switching to Window View

It's introduced in a261ff25 to fix
window highlighting, but now it's not used anywhere, so remove it.

CCBUG:376205
CCBUG:376234
CCBUG:452584
parent 5563290b
Pipeline #165912 passed with stage
in 2 minutes and 46 seconds
......@@ -210,7 +210,6 @@ MouseArea {
id: backend
taskManagerItem: tasks
groupDialog: groupDialog
highlightWindows: plasmoid.configuration.highlightWindows
onAddLauncher: {
......
......@@ -100,20 +100,6 @@ void Backend::setTaskManagerItem(QQuickItem *item)
}
}
QQuickWindow *Backend::groupDialog() const
{
return m_groupDialog;
}
void Backend::setGroupDialog(QQuickWindow *dialog)
{
if (dialog != m_groupDialog) {
m_groupDialog = dialog;
Q_EMIT groupDialogChanged();
}
}
bool Backend::highlightWindows() const
{
return m_highlightWindows;
......
......@@ -29,7 +29,6 @@ class Backend : public QObject
Q_OBJECT
Q_PROPERTY(QQuickItem *taskManagerItem READ taskManagerItem WRITE setTaskManagerItem NOTIFY taskManagerItemChanged)
Q_PROPERTY(QQuickWindow *groupDialog READ groupDialog WRITE setGroupDialog NOTIFY groupDialogChanged)
Q_PROPERTY(bool highlightWindows READ highlightWindows WRITE setHighlightWindows NOTIFY highlightWindowsChanged)
Q_PROPERTY(bool windowViewAvailable READ windowViewAvailable NOTIFY windowViewAvailableChanged)
......@@ -51,9 +50,6 @@ public:
QQuickItem *taskManagerItem() const;
void setTaskManagerItem(QQuickItem *item);
QQuickWindow *groupDialog() const;
void setGroupDialog(QQuickWindow *dialog);
bool highlightWindows() const;
void setHighlightWindows(bool highlight);
......@@ -85,7 +81,6 @@ public Q_SLOTS:
Q_SIGNALS:
void taskManagerItemChanged() const;
void groupDialogChanged() const;
void highlightWindowsChanged() const;
void addLauncher(const QUrl &url) const;
void windowViewAvailableChanged();
......@@ -101,7 +96,6 @@ private:
QVariantList systemSettingsActions(QObject *parent) const;
QQuickItem *m_taskManagerItem = nullptr;
QQuickWindow *m_groupDialog = nullptr;
bool m_highlightWindows;
QStringList m_windowsToHighlight;
QActionGroup *m_actionGroup = nullptr;
......
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