diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-08-11 08:54:06 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2016-08-11 08:54:06 +0300 |
commit | 028ddc8e576e78d500f1cba443d7e21401130bb6 (patch) | |
tree | 8c3a3b1ae9899eaafb490e776d6407bb16f6213d /client-qt/udm-client-qt/udm_main.cpp | |
parent | d9ffc27c8b563d76a493ec9eafad56ec5dda13b9 (diff) |
server:
event_system:
draft implementation of repeated events (we still have none defined by protcol)
more appropriate names for some enums and structs
messaging:
a bit of refactoring in server_session (cut message handler to separate functions for each message type)
more appropriate names for some functions
curl_downloader:
updating downloaded size variable during download process (thread safety required)
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, 1 insertions, 2 deletions
diff --git a/client-qt/udm-client-qt/udm_main.cpp b/client-qt/udm-client-qt/udm_main.cpp index 830adfe..72d73d8 100644 --- a/client-qt/udm-client-qt/udm_main.cpp +++ b/client-qt/udm-client-qt/udm_main.cpp @@ -259,7 +259,6 @@ void udm_main::server_message_received(server_msg msg) if(msg.auth_reply().status()) { auth_token = msg.auth_reply().auth_token(); - lbl_state->setText(tr("State") + ": " + tr("Connected") + ", " + tr("Authenticated")); //TODO: subscript to events //request modules and settings here @@ -305,7 +304,7 @@ void udm_main::server_message_received(server_msg msg) s->mutable_download_state_change()->add_states(SDS_STARTED); //subscript to download started event s->mutable_download_state_change()->add_states(SDS_STOPPED); //subscript to download stopped event s->mutable_download_state_change()->add_states(SDS_DELETED); //subscript to download deleted event - s->mutable_download_state_change()->add_states(SDS_COMPLETED); //subscript to download deleted event + s->mutable_download_state_change()->add_states(SDS_COMPLETED); //subscript to download completed event session->send_message(msg); } |