mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-25 09:11:28 -05: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 */
|
/* Callback from */
|
||||||
void RetroshareDirModel::preMods()
|
void RetroshareDirModel::preMods()
|
||||||
{
|
{
|
||||||
|
#if QT_VERSION < 0x050000
|
||||||
reset();
|
reset();
|
||||||
|
#else
|
||||||
|
beginResetModel();
|
||||||
|
endResetModel();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef RDM_DEBUG
|
#ifdef RDM_DEBUG
|
||||||
std::cerr << "RetroshareDirModel::preMods()" << std::endl;
|
std::cerr << "RetroshareDirModel::preMods()" << std::endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user