From 2472171e8e6cea40d4271cf099fa2559627e7219 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Wed, 7 Sep 2011 06:13:51 +0200 Subject: [PATCH] Expose sourcesModel to QML --- src/active/tomahawktouchwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/active/tomahawktouchwindow.cpp b/src/active/tomahawktouchwindow.cpp index cb7766b58..679dbd43f 100644 --- a/src/active/tomahawktouchwindow.cpp +++ b/src/active/tomahawktouchwindow.cpp @@ -81,5 +81,7 @@ TomahawkTouchWindow::loadQml() context->setContextProperty( "globalActionManager", GlobalActionManager::instance() ); + context->setContextProperty( "sourcesModel", s_sourcesModel ); + tLog()<< Q_FUNC_INFO << "finished"; }