Fix Windows compilation (multi-string QStringLiteral -> QLatin1String)

wilder
Kåre Särs 10 years ago
parent 9ed965929b
commit 69c72221bb
  1. 2
      tests/proxymodeltestapp/selectioninqmlwidget.cpp

@ -54,5 +54,5 @@ SelectionInQmlWidget::SelectionInQmlWidget(QWidget *parent): QWidget(parent)
quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_model"), m_rootModel); quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_model"), m_rootModel);
quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_selectionModel"), selectionTree->selectionModel()); quickView->engine()->rootContext()->setContextProperty(QStringLiteral("_selectionModel"), selectionTree->selectionModel());
quickView->setSource(QUrl::fromLocalFile(QStringLiteral(SRC_DIR "/selection.qml"))); quickView->setSource(QUrl::fromLocalFile(QLatin1String(SRC_DIR "/selection.qml")));
} }

Loading…
Cancel
Save