From f24fc3da3c636d53076e2305d4669ced3db384c3 Mon Sep 17 00:00:00 2001 From: Jeena Date: Thu, 5 Feb 2015 05:41:07 +0100 Subject: [PATCH] open url on N --- PostListItem.qml | 3 ++- TheMenuBar.qml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PostListItem.qml b/PostListItem.qml index 753e311..0c1ed82 100644 --- a/PostListItem.qml +++ b/PostListItem.qml @@ -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 diff --git a/TheMenuBar.qml b/TheMenuBar.qml index 24d8549..fd32a4f 100644 --- a/TheMenuBar.qml +++ b/TheMenuBar.qml @@ -62,7 +62,8 @@ MenuBar { MenuItem { text: qsTr("Open in Browser") shortcut: "N" - enabled: false + enabled: true + onTriggered: Qt.openUrlExternally(content.post.link) } }