removed some dead code after recent code change

svn path=/trunk/KDE/kdelibs/; revision=896893
This commit is contained in:
Beat Wolf 2008-12-14 17:19:02 +00:00
parent eee1671b3c
commit 073c56b8de
2 changed files with 0 additions and 14 deletions

View File

@ -460,18 +460,6 @@ void AppletHandle::mousePressEvent(QGraphicsSceneMouseEvent *event)
m_pos = pos();
}
if (m_pressedButton == ResizeButton) {
QRectF rect = QRectF(m_applet->pos(), m_applet->size());
m_originalSize = rect.size();
if (m_buttonsOnRight) {
m_resizeAnchor = rect.bottomLeft();
m_resizeOffset = event->pos() - rect.topRight();
} else {
m_resizeAnchor = rect.bottomRight();
m_resizeOffset = event->pos() - rect.topLeft();
}
}
event->accept();
update();

View File

@ -130,8 +130,6 @@ class AppletHandle : public QObject, public QGraphicsItem
QPointF m_entryPos; //where the hover in event occurred
QPointF m_pos; //current position of applet in sceneCoords
qreal m_zValue; //current zValue of the applet, so it can be restored after drag.
QPointF m_resizeAnchor;
QPointF m_resizeOffset;
QSizeF m_originalSize;
bool m_buttonsOnRight : 1;