From f232c409553941ec73506e097023aa73f23c2f47 Mon Sep 17 00:00:00 2001 From: Mathew Broady Date: Sat, 2 Jan 2021 15:45:24 +1100 Subject: [PATCH] Remove unused "parent" parameter warning for DevicesModel::rowCount() --- src/devicesmodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devicesmodel.cpp b/src/devicesmodel.cpp index 583bb4620..4e744e091 100644 --- a/src/devicesmodel.cpp +++ b/src/devicesmodel.cpp @@ -41,6 +41,7 @@ QVariant DevicesModel::data(const QModelIndex &index, int role) const int DevicesModel::rowCount(const QModelIndex &parent) const { + Q_UNUSED(parent); return m_devices.size(); }