Skip to content
Snippets Groups Projects
Commit 906d5366 authored by littletux89@gmail.com's avatar littletux89@gmail.com
Browse files

[*] Fixed errors of going beyond and checking the launch of the service.

parent 2ef6b85a
No related branches found
No related tags found
1 merge request!3[*] Fixed errors of going beyond and checking the launch of the service.
...@@ -118,7 +118,7 @@ void DapCommandController::processGetWalletInfo() ...@@ -118,7 +118,7 @@ void DapCommandController::processGetWalletInfo()
{ {
qInfo() << "processGetWalletInfo()"; qInfo() << "processGetWalletInfo()";
DapRpcServiceReply *reply = static_cast<DapRpcServiceReply *>(sender()); DapRpcServiceReply *reply = static_cast<DapRpcServiceReply *>(sender());
if (!reply || reply->response().result().toVariant().isNull()) { if (!reply || reply->response().result().toVariant().toStringList().count() <= 0) {
qWarning() << "Invalid response received"; qWarning() << "Invalid response received";
return; return;
} }
......
...@@ -32,7 +32,7 @@ else { ...@@ -32,7 +32,7 @@ else {
# deprecated API in order to know how to port your code away from it. # deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += DAP_BRAND=\\\"$$BRAND\\\" DEFINES += DAP_BRAND=\\\"$$BRAND\\\"
DEFINES += DAP_SERVICE_NAME=\\\"kelvin-dashboard\\\" DEFINES += DAP_SERVICE_NAME=\\\"KelvinDashboardService\\\"
DEFINES += DAP_VERSION=\\\"$$VERSION\\\" DEFINES += DAP_VERSION=\\\"$$VERSION\\\"
ICON = icon.ico ICON = icon.ico
# You can also make your code fail to compile if you use deprecated APIs. # You can also make your code fail to compile if you use deprecated APIs.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment