mirror of https://github.com/procxx/kepka.git
Merge pull request #1394 from heejune/dev
Fix a build error when TDESKTOP_DISABLE_AUTOUPDATE preprocessor defined.
This commit is contained in:
commit
b9bed419aa
|
@ -569,6 +569,8 @@ bool checkReadyUpdate() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
||||||
if (cBetaPrivateKey().isEmpty()) {
|
if (cBetaPrivateKey().isEmpty()) {
|
||||||
LOG(("Error: Trying to count beta version signature without beta private key!"));
|
LOG(("Error: Trying to count beta version signature without beta private key!"));
|
||||||
|
@ -613,4 +615,3 @@ QString countBetaVersionSignature(uint64 version) { // duplicated in packer.cpp
|
||||||
return QString::fromUtf8(signature.mid(19, 32));
|
return QString::fromUtf8(signature.mid(19, 32));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
|
@ -66,6 +66,11 @@ private:
|
||||||
|
|
||||||
bool checkReadyUpdate();
|
bool checkReadyUpdate();
|
||||||
|
|
||||||
QString countBetaVersionSignature(uint64 version);
|
#else
|
||||||
|
class UpdateDownloader : public QObject {
|
||||||
|
Q_OBJECT
|
||||||
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
QString countBetaVersionSignature(uint64 version);
|
||||||
|
|
Loading…
Reference in New Issue