mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
moved qml file to rc to avoid path issues
This commit is contained in:
@@ -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>
|
||||
|
@@ -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 );
|
||||
|
Reference in New Issue
Block a user