mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 23:36:59 -05:00
compatibility with Qt4.5
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3864 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b0eb329d31
commit
ebef7e7141
@ -740,7 +740,9 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const
|
||||
#endif
|
||||
//modelAboutToBeReset();
|
||||
// reset();
|
||||
#if QT_VERSION >= 0x040600
|
||||
beginResetModel();
|
||||
#endif
|
||||
layoutAboutToBeChanged();
|
||||
}
|
||||
|
||||
@ -753,7 +755,9 @@ Qt::ItemFlags RemoteDirModel::flags( const QModelIndex & index ) const
|
||||
//modelReset();
|
||||
layoutChanged();
|
||||
//reset();
|
||||
#if QT_VERSION >= 0x040600
|
||||
endResetModel();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
|
||||
class QGraphicsSceneMouseEvent;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
class Node : public QGraphicsObject
|
||||
class Node : public QObject, public QGraphicsItem
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user