Remove unused private members

These members are in private classe, so we can safely remove them.

qpathclipper.cpp:762:9: error: private field 'm_point' is not used [-Werror,-Wunused-private-field]
qsimpledrag_p.h💯20: error: private field 'm_cursor_drop_action' is not used
etc.

Change-Id: I35ed486eb959c49bb971700500a66411308ee7bc
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
This commit is contained in:
Thiago Macieira 2013-03-21 14:17:20 -07:00 committed by The Qt Project
parent 336eac0896
commit c550a5d42c
4 changed files with 2 additions and 6 deletions

View File

@ -713,8 +713,7 @@ class QKdPointFinder
{
public:
QKdPointFinder(int point, const QPathSegments &segments, QKdPointTree &tree)
: m_point(point)
, m_result(-1)
: m_result(-1)
, m_segments(&segments)
, m_tree(&tree)
{
@ -759,7 +758,6 @@ public:
}
private:
int m_point;
qreal pointComponents[2];
int m_result;
const QPathSegments *m_segments;

View File

@ -120,7 +120,6 @@ public:
private:
QGLFramebufferObject* fbo;
QGLFormat fboFormat;
bool wasBound;
bool reqAlpha;
};

View File

@ -95,7 +95,7 @@ static QWindow* topLevelAt(const QPoint &pos)
QBasicDrag::QBasicDrag() :
m_restoreCursor(false), m_eventLoop(0),
m_executed_drop_action(Qt::IgnoreAction), m_can_drop(false),
m_drag(0), m_drag_icon_window(0), m_cursor_drop_action(Qt::IgnoreAction)
m_drag(0), m_drag_icon_window(0)
{
}

View File

@ -97,7 +97,6 @@ private:
bool m_can_drop;
QDrag *m_drag;
QShapedPixmapWindow *m_drag_icon_window;
Qt::DropAction m_cursor_drop_action;
};
class QSimpleDrag : public QBasicDrag