198
198
static QString errorLocation(const QModelIndex &index, const Error &error,
199
199
bool link = false, const QString &linkAttr = QString())
201
203
const ErrorListModel *model = 0;
202
204
const QAbstractProxyModel *proxy = qobject_cast<const QAbstractProxyModel *>(index.model());
203
205
while (!model && proxy) {