plasma: remove unused variable in PlacesEngine::sendData()

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-08-11 19:44:41 +03:00
parent baf804e80b
commit 4cd80db371

View file

@ -89,8 +89,6 @@ void PlacesEngine::sendData(int start, int end)
for (int row = start; row <= end; ++row) { for (int row = start; row <= end; ++row) {
const QModelIndex index = m_placesModel.index(row, 0); const QModelIndex index = m_placesModel.index(row, 0);
Data map;
const QString source = QString::number(row); const QString source = QString::number(row);
setData(source, "name", m_placesModel.text(index)); setData(source, "name", m_placesModel.text(index));