1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 22:26:32 +02:00

moved qml file to rc to avoid path issues

This commit is contained in:
Michael Zanetti
2012-07-02 01:12:32 +02:00
parent fb0a88aa98
commit 051282be06
3 changed files with 2 additions and 1 deletions

View File

@@ -146,5 +146,6 @@
<file>data/images/jump-link.png</file>
<file>data/images/scrollbar-vertical-handle.png</file>
<file>data/images/scrollbar-horizontal-handle.png</file>
<file>data/qml/ArtistInfoScene.qml</file>
</qresource>
</RCC>

View File

@@ -59,7 +59,7 @@ ArtistInfoWidget::ArtistInfoWidget( const Tomahawk::artist_ptr& artist, QWidget*
rootContext()->setContextProperty("albumsModel", m_albumsModel);
engine()->addImageProvider(QLatin1String("albums"), new AlbumArtImageProvider);
setSource(QUrl::fromLocalFile("/home/micha/Develop/tomahawk/src/libtomahawk/widgets/infowidgets/ArtistInfoScene.qml"));
setSource(QUrl("qrc" RESPATH "qml/ArtistInfoScene.qml"));
// QWidget* widget = new QWidget;
// ui->setupUi( widget );