taskswitcher: Remove requestLastActivatedReorderDelay calls

This was removed upstream https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1661
This commit is contained in:
Devin Lin 2022-04-26 14:13:46 -04:00
parent 401620e365
commit 174843767f
2 changed files with 0 additions and 4 deletions

View file

@ -83,9 +83,6 @@ Item {
taskSwitcherState.wasInActiveTask = tasksModel.activeTask.row >= 0;
taskSwitcherState.currentlyBeingOpened = true;
// disable reorder feature and the relative delay
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(0);
// skip to first active task
if (taskSwitcherState.wasInActiveTask) {
taskSwitcherState.goToTaskIndex(tasksModel.activeTask.row);

View file

@ -221,7 +221,6 @@ QtObject {
taskSwitcher.instantHide();
if (root.wasInActiveTask) {
taskSwitcher.tasksModel.requestLastActivatedReorderDelay(5000);
taskSwitcher.setSingleActiveWindow(root.currentTaskIndex);
}
}