Build function countBetaVersionSignature() when autoupdater is disabled because it is needed by boxes/aboutbox.cpp.

Signed-off-by: Eduardo Sánchez Muñoz <eduardosanchezmunoz@gmail.com> (github: eduardosm)
This commit is contained in:
Eduardo Sánchez Muñoz 2015-12-09 16:39:36 +01:00
parent d80b378ae2
commit f8e006001b
2 changed files with 4 additions and 4 deletions

View File

@ -569,6 +569,8 @@ bool checkReadyUpdate() {
return true;
}
#endif
QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
if (cBetaPrivateKey().isEmpty()) {
LOG(("Error: Trying to count beta version signature without beta private key!"));
@ -612,5 +614,3 @@ QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
signature = signature.replace('-', '8').replace('_', 'B');
return QString::fromUtf8(signature.mid(19, 32));
}
#endif

View File

@ -66,6 +66,6 @@ private:
bool checkReadyUpdate();
QString countBetaVersionSignature(uint64 version);
#endif
QString countBetaVersionSignature(uint64 version);