Skip to content

Commit

Permalink
Merge pull request #2457 from stschake/bug/cloud-default-url
Browse files Browse the repository at this point in the history
Fix variant check to ensure default URL is used in Cloud Service wizard
  • Loading branch information
liversedge committed Apr 19, 2017
2 parents da88a60 + 8b761da commit 4633109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Cloud/CloudService.h
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ class CloudServiceFactory {
if (i.key() == CloudService::Combo1) { sname = i.value().split("::").at(0); }

// populate from appsetting configuration
QVariant value = appsettings->cvalue(context->athlete->cyclist, sname, QVariant());
QVariant value = appsettings->cvalue(context->athlete->cyclist, sname, "");

// apply default url
if (i.key() == CloudService::URL && value == "") {
Expand Down

0 comments on commit 4633109

Please sign in to comment.