corrected bad modification of commit #4560, which made RS not compilable on ubuntu karmic

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4584 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2011-09-01 16:42:05 +00:00
parent 3bccaf0520
commit 0591ef0432

View File

@ -42,7 +42,12 @@
#ifndef NODE_H #ifndef NODE_H
#define NODE_H #define NODE_H
#include <QApplication>
#if QT_VERSION >= 0x040600
#include <QGraphicsObject> #include <QGraphicsObject>
#else
#include <QGraphicsItem>
#endif
#include <QList> #include <QList>
#include "graphwidget.h" #include "graphwidget.h"
@ -52,7 +57,11 @@ QT_BEGIN_NAMESPACE
class QGraphicsSceneMouseEvent; class QGraphicsSceneMouseEvent;
QT_END_NAMESPACE QT_END_NAMESPACE
#if QT_VERSION >= 0x040600
class Node : public QGraphicsObject class Node : public QGraphicsObject
#else
class Node : public QObject, public QGraphicsItem
#endif
{ {
Q_OBJECT Q_OBJECT