--- qsampler/trunk/src/qsamplerFxSendsModel.cpp 2019/06/30 17:01:00 3519 +++ qsampler/trunk/src/qsamplerFxSendsModel.cpp 2019/07/01 10:53:41 3520 @@ -135,7 +135,7 @@ fxSend.setName("New FX Send"); m_fxSends.push_back(fxSend); createIndex(m_fxSends.size() - 1, 0); -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) QAbstractListModel::reset(); #else QAbstractListModel::beginResetModel(); @@ -163,7 +163,7 @@ FxSend *pFxSend = fxSend(index); if (!pFxSend) return; pFxSend->setDeletion(true); -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) QAbstractListModel::reset(); #else QAbstractListModel::beginResetModel(); @@ -183,7 +183,7 @@ fxSend.getFromSampler(); m_fxSends.push_back(fxSend); } -#if QT_VERSION < 0x050000 +#if QT_VERSION < QT_VERSION_CHECK(5, 0, 0) QAbstractListModel::reset(); #else QAbstractListModel::beginResetModel();