open url on N
This commit is contained in:
parent
c474db9a0c
commit
f24fc3da3c
2 changed files with 4 additions and 2 deletions
|
@ -4,7 +4,7 @@ import QtQuick.Controls 1.3
|
|||
Component {
|
||||
Item {
|
||||
property int headLinefontSize: 14
|
||||
property int smallfontSize: 10
|
||||
property int smallfontSize: 11
|
||||
|
||||
id: item
|
||||
height: column.height + 20
|
||||
|
@ -47,6 +47,7 @@ Component {
|
|||
}
|
||||
Label {
|
||||
text: title
|
||||
color: read ? "gray" : this.color
|
||||
font.pointSize: headLinefontSize
|
||||
textFormat: Text.PlainText
|
||||
wrapMode: Text.WrapAtWordBoundaryOrAnywhere
|
||||
|
|
|
@ -62,7 +62,8 @@ MenuBar {
|
|||
MenuItem {
|
||||
text: qsTr("Open in Browser")
|
||||
shortcut: "N"
|
||||
enabled: false
|
||||
enabled: true
|
||||
onTriggered: Qt.openUrlExternally(content.post.link)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue