summaryrefslogtreecommitdiffstats
path: root/src/libs/installer/protocol.h
diff options
context:
space:
mode:
authorkh <karsten.heimrich@theqtcompany.com>2014-11-24 15:26:21 +0100
committerKarsten Heimrich <karsten.heimrich@theqtcompany.com>2014-11-24 16:52:17 +0100
commitb34f41a3bb527430f66f349bf612e6978a1c2338 (patch)
tree5ca5c2f506f7df8179738f67530b4ad12287d318 /src/libs/installer/protocol.h
parent44b12b11b2f86575f86b12c2e3172c4c038f4556 (diff)
Use written localhost address, adapt code.
Use the default address throughout the whole code. Instead of relying on the QHostAddress::SpecialAddress enum, use the full qualified and more descriptive address of localhost. Change-Id: I64b3459245682532f84306703e29ac276d4e468d Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer/protocol.h')
-rw-r--r--src/libs/installer/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/protocol.h b/src/libs/installer/protocol.h
index d99da20e6..2aee34769 100644
--- a/src/libs/installer/protocol.h
+++ b/src/libs/installer/protocol.h
@@ -49,7 +49,7 @@ enum struct StartAs {
};
const unsigned short DefaultPort = 39999;
-const int DefaultHostAddress = 2; // QHostAddress::LocalHost
+const char DefaultHostAddress[] = "127.0.0.1";
const char DefaultAuthorizationKey[] = "DefaultAuthorizationKey";
const char Create[] = "Create";