summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-27 11:19:44 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-27 11:19:44 +0200
commited91fe6cddd689382f23167c1136e3a8386df0b5 (patch)
tree1455d4b403bb1f327265150447c1503bda8483d5 /framework
parente666c8a42b931f547cdb2176475b2124203fe64b (diff)
downloadkube-ed91fe6cddd689382f23167c1136e3a8386df0b5.tar.gz
kube-ed91fe6cddd689382f23167c1136e3a8386df0b5.zip
Handle host not found
Diffstat (limited to 'framework')
-rw-r--r--framework/qml/Messages.qml1
-rw-r--r--framework/qml/Notifications.qml1
-rw-r--r--framework/src/sinkfabric.cpp1
3 files changed, 3 insertions, 0 deletions
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 {
36 property string moveToDrafts: "moveToDrafts" 36 property string moveToDrafts: "moveToDrafts"
37 property string unlockKeyring: "unlockKeyring" 37 property string unlockKeyring: "unlockKeyring"
38 property string requestLogin: "requestLogin" 38 property string requestLogin: "requestLogin"
39 property string requestAccountsConfiguration: "requestAccountsConfiguration"
39 40
40 property string notification: "notification" 41 property string notification: "notification"
41 property string progressNotification: "progressNotification" 42 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 {
26 property string progress: "progress" 26 property string progress: "progress"
27 27
28 property string loginError: "loginError" 28 property string loginError: "loginError"
29 property string hostNotFoundError: "hostNotFoundError"
29} 30}
30 31
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:
169 break; 169 break;
170 case Sink::ApplicationDomain::NoServerError: 170 case Sink::ApplicationDomain::NoServerError:
171 message["message"] = QObject::tr("Host not found."); 171 message["message"] = QObject::tr("Host not found.");
172 message["subtype"] = "hostNotFoundError";
172 break; 173 break;
173 case Sink::ApplicationDomain::LoginError: 174 case Sink::ApplicationDomain::LoginError:
174 message["message"] = QObject::tr("Failed to login."); 175 message["message"] = QObject::tr("Failed to login.");