Skip to content
Snippets Groups Projects
Commit 71fc86f6 authored by luyikei's avatar luyikei
Browse files

Timeline.cpp: Use QStringLiteral

parent 5e50c347
No related branches found
No related tags found
No related merge requests found
......@@ -38,9 +38,9 @@ Timeline::Timeline( MainWindow* parent )
{
m_container->setSizePolicy( QSizePolicy::Expanding, QSizePolicy::Expanding );
m_container->setFocusPolicy( Qt::TabFocus );
m_view->rootContext()->setContextProperty( "timeline", this );
m_view->rootContext()->setContextProperty( "mainwindow", parent );
m_view->rootContext()->setContextProperty( "workflow", Core::instance()->workflow() );
m_view->rootContext()->setContextProperty( QStringLiteral( "timeline" ), this );
m_view->rootContext()->setContextProperty( QStringLiteral( "mainwindow" ), parent );
m_view->rootContext()->setContextProperty( QStringLiteral( "workflow" ), Core::instance()->workflow() );
m_view->setSource( QUrl( QStringLiteral( "qrc:/QML/main.qml" ) ) );
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment