Require Qt4 >=4.8.0; remove some ifdefs on qt version

This commit is contained in:
Fabio Bas 2014-06-25 16:00:48 +02:00
parent c4458b16b2
commit 2354ed6909
4 changed files with 1 additions and 19 deletions

View file

@ -30,9 +30,7 @@ DeckListModel::~DeckListModel()
void DeckListModel::rebuildTree()
{
#if QT_VERSION >= 0x050000
beginResetModel();
#endif
root->clearTree();
InnerDecklistNode *listRoot = deckList->getRoot();
@ -59,11 +57,7 @@ void DeckListModel::rebuildTree()
}
}
#if QT_VERSION < 0x050000
reset();
#else
endResetModel();
#endif
}
int DeckListModel::rowCount(const QModelIndex &parent) const