diff --git a/platform/qt/sacn/universemodel.cpp b/platform/qt/sacn/universemodel.cpp index 3083b5a..86c9da0 100644 --- a/platform/qt/sacn/universemodel.cpp +++ b/platform/qt/sacn/universemodel.cpp @@ -19,7 +19,7 @@ UniverseModel::UniverseModel(QObject *parent, std::shared_ptr uni return; data_change_token = universe_->onDataChange([this] (DMX::Universe*) { - emit dataChanged(createIndex(0,0), createIndex(rowCount(), columnCount())); + emit dataChanged(index(0,0), index(rowCount(), columnCount())); }); }