Fixed compile with Qt 5

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7008 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-01-11 18:34:38 +00:00
parent 90fa8128d0
commit e78d14c67b

View File

@ -846,7 +846,12 @@ Qt::ItemFlags RetroshareDirModel::flags( const QModelIndex & index ) const
/* Callback from */
void RetroshareDirModel::preMods()
{
#if QT_VERSION < 0x050000
reset();
#else
beginResetModel();
endResetModel();
#endif
#ifdef RDM_DEBUG
std::cerr << "RetroshareDirModel::preMods()" << std::endl;