projects
/
quicknewsreader
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major changes
[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
..
913f49d
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(index)
+ }
+ }
+
onClicked: {
if( delegate.ListView.view.currentIndex !== index )
{
onClicked: {
if( delegate.ListView.view.currentIndex !== index )
{
@@
-82,15
+91,12
@@
Item {
delegate.ListView.view.currentIndex = index
delegate.ListView.view.currentIndex = index
+ listSourceModel[index].currentPath = [index]
+
window.windowViewsModel.append({ component: listSourceModel[index].listViews[0].viewComponent,
window.windowViewsModel.append({ component: listSourceModel[index].listViews[0].viewComponent,
- componentId: listSourceModel[index].listViews[0].viewId,
componentDepth: 1 })
componentDepth: 1 })
- listSourceModel[window.currentSourceIndex].currentPath = [index]
-
window.currentSourceIndex = index
window.currentSourceIndex = index
-
- window.windowViewsList.currentIndex = 1;
}
}
}
}
}
}