Skip to content

Commit 5c24904

Browse files
committed
Update libscratchcpp to latest master
1 parent 9a4c73c commit 5c24904

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

libscratchcpp

Submodule libscratchcpp updated 62 files

src/listmonitorlistmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ QVariant ListMonitorListModel::data(const QModelIndex &index, int role) const
5757
if (!m_list || index.row() < 0 || index.row() >= m_list->size())
5858
return QVariant();
5959

60-
return QString::fromStdString((*m_list)[index.row()].toString());
60+
return QString::fromStdString(libscratchcpp::Value((*m_list)[index.row()]).toString());
6161
}
6262

6363
QHash<int, QByteArray> ListMonitorListModel::roleNames() const

0 commit comments

Comments
 (0)