plasma: remove reference to non-existing TaskManager::TaskManager::activityChanged() signal

activities feature was ripped out long ago

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-09-27 22:24:30 +03:00
parent 53f7e08c17
commit cfecf4def5
2 changed files with 12 additions and 4 deletions

View file

@ -6,7 +6,16 @@ set(switchwindow_SRCS
)
kde4_add_plugin(plasma_containmentactions_switchwindow ${switchwindow_SRCS})
target_link_libraries(plasma_containmentactions_switchwindow KDE4::plasma KDE4::kio)
target_link_libraries(plasma_containmentactions_switchwindow
KDE4::plasma
KDE4::kio
)
install(TARGETS plasma_containmentactions_switchwindow DESTINATION ${KDE4_PLUGIN_INSTALL_DIR})
install(FILES plasma-containmentactions-switchwindow.desktop DESTINATION ${KDE4_SERVICES_INSTALL_DIR})
install(
TARGETS plasma_containmentactions_switchwindow
DESTINATION ${KDE4_PLUGIN_INSTALL_DIR}
)
install(
FILES plasma-containmentactions-switchwindow.desktop
DESTINATION ${KDE4_SERVICES_INSTALL_DIR}
)

View file

@ -109,7 +109,6 @@ void TasksEngine::taskAdded(::TaskManager::Task *task)
TaskSource *taskSource = new TaskSource(task, this);
connect(task, SIGNAL(changed(::TaskManager::TaskChanges)), taskSource, SLOT(updateTask(::TaskManager::TaskChanges)));
connect(TaskManager::TaskManager::self(), SIGNAL(desktopChanged(int)), taskSource, SLOT(updateDesktop()));
connect(TaskManager::TaskManager::self(), SIGNAL(activityChanged(QString)), taskSource, SLOT(updateActivity()));
addSource(taskSource);
}
}