Commit b28f0a68 authored by kempe's avatar kempe

Forgotten Path changes for previous commit

Signed-off-by: kempe's avatarkempe <l.f.kempe@gmail.com>
parent 85308bc6
......@@ -55,8 +55,8 @@ Python {
console.log("Number of results:", response.length)
mList.clear()
response.forEach(function(category) {
mList.append({ title: category})
response.forEach(function(title) {
mList.append({ title: title, category: cat})
});
loading = false
......
import QtQuick 2.6
import Sailfish.Silica 1.0
import "./js/Storage.js" as DB
import "./js/Favorites.js" as FavoritesUtils
import "./js/Utils.js" as Utils
import "../js/Storage.js" as DB
import "../js/Favorites.js" as FavoritesUtils
import "../js/Utils.js" as Utils
DockedAudioPlayerForm {
id: player
......
import QtQuick 2.6
import Sailfish.Silica 1.0
import "../"
DockedPanel {
id: player
......
import QtQuick 2.6
import Sailfish.Silica 1.0
import "js/Favorites.js" as FavoritesUtils
import "../js/Favorites.js" as FavoritesUtils
/**
* Context menu intended for use within StationsPage list
......
......@@ -3,6 +3,7 @@ import org.nemomobile.notifications 1.0
import Sailfish.Silica 1.0
import "pages"
import "components"
import "components/audioplayer" as Audio
import "./components/js/Storage.js" as DB
import "./components/js/Utils.js" as Utils
......@@ -25,7 +26,7 @@ ApplicationWindow
id: favorites
}
DockedAudioPlayer {
Audio.DockedAudioPlayer {
id: player
}
......
......@@ -7,7 +7,7 @@ BrowseByCategoryPageForm {
browseByListView.onCurrentIndexChanged: {
var item = browseByModel.get(browseByListView.currentIndex)
pageStack.push(Qt.resolvedUrl("StationsPage.qml"), {listType: new Utils.ListType(title),
pageStack.push(Qt.resolvedUrl("StationsPage.qml"), {listType: new Utils.ListType(item.title),
category: item.category, value: item.title});
}
......
import QtQuick 2.6
import Sailfish.Silica 1.0
import "../components/"
import "../components/contextmenus"
Page {
......
import QtQuick 2.6
import Sailfish.Silica 1.0
import "../components"
import "../components/contextmenus" as ContextMenu
Page {
......@@ -61,7 +62,7 @@ Page {
stationCurrent: currentTrack ? currentTrack : "-"
isPlaying: player.stationData !== undefined && player.stationData.radIoId == id
menu: StationsListContextMenu {
menu: ContextMenu.StationsListContextMenu {
id: contextMenu
}
......
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