Nothing in the codebase actually listens to this signal, looks a bit vestigial.
---
scrollMenuList.cpp | 8 --------
scrollMenuList.h | 1 -
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/scrollMenuList.cpp b/scrollMenuList.cpp
index 5ce95cb..f2d0f1e 100644
--- a/scrollMenuList.cpp
+++ b/scrollMenuList.cpp
@@ -284,10 +284,6 @@ void ScrollMenuList::moveItemStep(qreal py)
setCurrectItem(p_widgetList.at(newItemIndex));
}
-
- qreal volume = (ITEMY(ctridx) - p_widgetList.at(0)->pos().y()) /
LAUNCH_ITEM_GAP;
-
- emit rotateVolume(-volume);
}
void ScrollMenuList::adjustCurrectItemPos()
@@ -326,10 +322,6 @@ void ScrollMenuList::adjustCurrectItemPos()
qreal y = p_widgetList.at(i)->y()+py;
p_widgetList.at(i)->setPos(XfromY(y), y);
}
-
- qreal volume = (ITEMY(ctridx) - p_widgetList.at(0)->y()) / LAUNCH_ITEM_GAP;
-
- emit rotateVolume(-volume);
}
void ScrollMenuList::mousePressEvent(QGraphicsSceneMouseEvent *event)
diff --git a/scrollMenuList.h b/scrollMenuList.h
index fc83e24..bb3acce 100644
--- a/scrollMenuList.h
+++ b/scrollMenuList.h
@@ -67,7 +67,6 @@ signals:
void itemRightClicked(int,QString);
void itemChanged(int,QString);
void itemScrolled(int);
- void rotateVolume(qreal);
private:
QRect rect;
--
1.7.0.4
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev