Skip to content

Commit ddc0886

Browse files
authored
Merge pull request #12 from micuintus/bugs/Issue11_gel_not_compiling
Replace qUtf8Printable with qPrintable so it works with Qt < 5.4
2 parents 16d1870 + 0d39ca9 commit ddc0886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jsonlistmodel.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int JsonListModel::addItem(const QJSValue &item)
114114
id = item.toString();
115115
} else if (item.isObject()) {
116116
if (!item.hasProperty(m_idAttribute)) {
117-
qWarning("Object does not have a %s property", qUtf8Printable(m_idAttribute));
117+
qWarning("Object does not have a %s property", qPrintable(m_idAttribute));
118118
return row;
119119
}
120120
id = item.property(m_idAttribute).toString();

0 commit comments

Comments
 (0)