Commit a56ad35e authored by Camilo Higuita's avatar Camilo Higuita

quick fix for youtubeview

parent 327463cf
<RCC>
<qresource prefix="/">
<file>qtquickcontrols2.conf</file>
<file>library/cat</file>
</qresource>
</RCC>
......@@ -200,6 +200,7 @@ Kirigami.ApplicationWindow
{
id: toolbar
// height: toolBarHeight
visible: true
currentIndex: currentView
onSettingsViewClicked: settingsDrawer.visible ? settingsDrawer.close() : settingsDrawer.open()
......
......@@ -30,7 +30,7 @@ ColumnLayout
visible: card.visible
horizontalOffset: 0
verticalOffset: 3
radius: 8.0
radius: 0
samples: 17
color: "#80000000"
source: card
......
......@@ -28,7 +28,7 @@ ItemDelegate
{
if(listModel.get(index-1))
{
if(listModel.get(index-1).album === album) true
if(listModel.get(index-1).album === album && listModel.get(index-1).artist === artist) true
else false
}else false
}else false
......
......@@ -199,7 +199,10 @@ Item
onClicked:
{
if(youtube.getQuery(currentTrack.title+" "+currentTrack.artist))
swipeView.currentIndex = viewsIndex.youtube
{
pageStack.currentIndex = 1
currentView = viewsIndex.youtube
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment