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

@ -258,17 +258,11 @@ void RemoteDeckList_TreeModel::deckListFinished(const Response &r)
{
const Response_DeckList &resp = r.GetExtension(Response_DeckList::ext);
#if QT_VERSION >= 0x050000
beginResetModel();
#endif
root->clearTree();
#if QT_VERSION < 0x050000
reset();
#else
endResetModel();
#endif
ServerInfo_DeckStorage_TreeItem tempRoot;
tempRoot.set_id(0);