From ed91fe6cddd689382f23167c1136e3a8386df0b5 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Fri, 27 Oct 2017 11:19:44 +0200 Subject: Handle host not found --- framework/qml/Messages.qml | 1 + framework/qml/Notifications.qml | 1 + framework/src/sinkfabric.cpp | 1 + 3 files changed, 3 insertions(+) (limited to 'framework') diff --git a/framework/qml/Messages.qml b/framework/qml/Messages.qml index 7e415c34..597afc0c 100644 --- a/framework/qml/Messages.qml +++ b/framework/qml/Messages.qml @@ -36,6 +36,7 @@ Item { property string moveToDrafts: "moveToDrafts" property string unlockKeyring: "unlockKeyring" property string requestLogin: "requestLogin" + property string requestAccountsConfiguration: "requestAccountsConfiguration" property string notification: "notification" property string progressNotification: "progressNotification" diff --git a/framework/qml/Notifications.qml b/framework/qml/Notifications.qml index 7dd57dfa..622aca86 100644 --- a/framework/qml/Notifications.qml +++ b/framework/qml/Notifications.qml @@ -26,5 +26,6 @@ Item { property string progress: "progress" property string loginError: "loginError" + property string hostNotFoundError: "hostNotFoundError" } diff --git a/framework/src/sinkfabric.cpp b/framework/src/sinkfabric.cpp index cb72c120..6435bd08 100644 --- a/framework/src/sinkfabric.cpp +++ b/framework/src/sinkfabric.cpp @@ -169,6 +169,7 @@ public: break; case Sink::ApplicationDomain::NoServerError: message["message"] = QObject::tr("Host not found."); + message["subtype"] = "hostNotFoundError"; break; case Sink::ApplicationDomain::LoginError: message["message"] = QObject::tr("Failed to login."); -- cgit v1.2.3