mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
3bccaf0520
commit
0591ef0432
@ -42,7 +42,12 @@
|
||||
#ifndef NODE_H
|
||||
#define NODE_H
|
||||
|
||||
#include <QApplication>
|
||||
#if QT_VERSION >= 0x040600
|
||||
#include <QGraphicsObject>
|
||||
#else
|
||||
#include <QGraphicsItem>
|
||||
#endif
|
||||
#include <QList>
|
||||
|
||||
#include "graphwidget.h"
|
||||
@ -52,7 +57,11 @@ QT_BEGIN_NAMESPACE
|
||||
class QGraphicsSceneMouseEvent;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
#if QT_VERSION >= 0x040600
|
||||
class Node : public QGraphicsObject
|
||||
#else
|
||||
class Node : public QObject, public QGraphicsItem
|
||||
#endif
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user