Commit e909e066 authored by Camilo Higuita's avatar Camilo Higuita

fix unused QtLocation imports and group by album on mainplaylist

parent 3364983d
......@@ -59,7 +59,18 @@ ItemDelegate
Item
{
visible: coverArt
visible:
{
if(coverArt)
{
if(listModel.get(index-1))
if(listModel.get(index-1).album === album)
artworkCover.source = ""
true
}else false
}
Layout.fillHeight: true
// Layout.fillWidth: true
// height: parent.height
......
......@@ -3,7 +3,6 @@ import QtQuick.Controls 2.2
import QtQuick.Layouts 1.3
import "../utils/Icons.js" as MdiFont
import "../utils"
import QtLocation 5.3
ToolBar
{
......
import QtQuick 2.9
import QtQuick.Controls 2.2
import QtLocation 5.9
import QtQuick.Layouts 1.3
import QtGraphicalEffects 1.0
......
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