diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-08-03 18:54:55 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-08-03 18:54:55 +0300 |
commit | 6e1ffb99805ea6a19f357cb74f63fe57aaf6236d (patch) | |
tree | 0d2103b707ba3cb0f74d78ab7eca2675fe9f18e5 /client-qt/udm-client-qt/udm_main.cpp | |
parent | 3bae8115dda2ee5a8e055b4f1aea45fa43088eab (diff) |
server:
all projects: corected cflafs/cxxflags
modules:
metadata_flat:
fixed crash on non-existing setting check
client:
enable ui only after events subscription to avid hypotetically not handled events
Diffstat (limited to 'client-qt/udm-client-qt/udm_main.cpp')
-rw-r--r-- | client-qt/udm-client-qt/udm_main.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client-qt/udm-client-qt/udm_main.cpp b/client-qt/udm-client-qt/udm_main.cpp index 5df22a7..830adfe 100644 --- a/client-qt/udm-client-qt/udm_main.cpp +++ b/client-qt/udm-client-qt/udm_main.cpp @@ -259,7 +259,7 @@ void udm_main::server_message_received(server_msg msg) if(msg.auth_reply().status()) { auth_token = msg.auth_reply().auth_token(); - btn_add->setEnabled(true); //we can add downloads now + lbl_state->setText(tr("State") + ": " + tr("Connected") + ", " + tr("Authenticated")); //TODO: subscript to events //request modules and settings here @@ -309,6 +309,7 @@ void udm_main::server_message_received(server_msg msg) session->send_message(msg); } + btn_add->setEnabled(true); //we can add downloads now } else { |