mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
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:
parent
90fa8128d0
commit
e78d14c67b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user