projects
/
quicknewsreader
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Settings dialog infrastructure
[quicknewsreader]
/
qml
/
QuickNewsReader
/
content
/
view
/
SourceDelegate.qml
diff --git
a/qml/QuickNewsReader/content/view/SourceDelegate.qml
b/qml/QuickNewsReader/content/view/SourceDelegate.qml
index
e3e72e0
..
8824282
100644
(file)
--- a/
qml/QuickNewsReader/content/view/SourceDelegate.qml
+++ b/
qml/QuickNewsReader/content/view/SourceDelegate.qml
@@
-73,6
+73,15
@@
Item {
MouseArea {
anchors.fill: delegate
MouseArea {
anchors.fill: delegate
+
+ onPressAndHold: {
+ // show the configuration for this journal
+ if( listSourceModel[index].hasSettings )
+ {
+ window.showConfigDialog(listSourceModel[index].settingsComponent)
+ }
+ }
+
onClicked: {
if( delegate.ListView.view.currentIndex !== index )
{
onClicked: {
if( delegate.ListView.view.currentIndex !== index )
{
@@
-86,7
+95,7
@@
Item {
componentId: listSourceModel[index].listViews[0].viewId,
componentDepth: 1 })
componentId: listSourceModel[index].listViews[0].viewId,
componentDepth: 1 })
- listSourceModel[window.currentSourceIndex].currentPath = [index]
+ listSourceModel[index].currentPath = [index]
window.currentSourceIndex = index
window.currentSourceIndex = index