1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-08-15 21:49:28 +03:00

remove deprecated code

This commit is contained in:
Michail Vourlakos
2017-10-22 14:15:14 +03:00
parent 397d169309
commit f2b1ff48a8

View File

@ -1204,17 +1204,6 @@ MouseArea{
//after dragging an existent task with audio
onDragSourceChanged: mainItemContainer.updateAudioStreams()
}
///REMOVE
//fix wrong positioning of launchers....
onActivityChanged:{
/*for(var i=0; i<tasksModel.launcherList.length; ++i){
if ((tasksModel.launcherList[i] == LauncherUrlWithoutIcon) && (i != index)){
updatePosition.restart();
}
}*/
}
///// End of Helper functions ////
Component.onCompleted: {
@ -1238,14 +1227,6 @@ MouseArea{
visible = true;
}
///REMOVE
//fix wrong positioning of launchers....
/*for(var i=0; i<tasksModel.launcherList.length; ++i){
if ((tasksModel.launcherList[i] == LauncherUrlWithoutIcon) && (i != index)){
updatePosition.restart();
}
}*/
showWindowAnimation.showWindow();
updateAudioStreams();
}
@ -1255,22 +1236,6 @@ MouseArea{
root.waitingLauncherRemoved.disconnect(slotWaitingLauncherRemoved);
}
///REMOVE
Timer{
id:updatePosition
interval: 800
onTriggered: {
/*for(var i=0; i<tasksModel.launcherList.length; ++i){
if ((tasksModel.launcherList[i] == LauncherUrlWithoutIcon) && (i != index)){
// console.log("Launch List:"+tasksModel.launcherList);
// console.log("Move from timer "+AppId+" - from:"+ index + " to:" + i + " - total:"+tasksModel.count);
tasksModel.move(index, i);
}
}*/
}
}
/////Animations
TaskAnimations.TaskShowWindowAnimation{ id: showWindowAnimation }