diff options
Diffstat (limited to 'src/lib/qotarepositoryconfig.cpp')
-rw-r--r-- | src/lib/qotarepositoryconfig.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/lib/qotarepositoryconfig.cpp b/src/lib/qotarepositoryconfig.cpp index 5a443df..f2049ee 100644 --- a/src/lib/qotarepositoryconfig.cpp +++ b/src/lib/qotarepositoryconfig.cpp @@ -86,27 +86,6 @@ QOtaRepositoryConfig *QOtaRepositoryConfigPrivate::repositoryConfigFromFile(cons return conf; } -bool QOtaRepositoryConfigPrivate::repositoryConfigsEqual(QOtaRepositoryConfig *a, QOtaRepositoryConfig *b) const -{ - if (!a || !b) - return false; - - if (a->url() != b->url()) - return false; - if (a->gpgVerify() != b->gpgVerify()) - return false; - if (a->tlsPermissive() != b->tlsPermissive()) - return false; - if (a->tlsClientCertPath() != b->tlsClientCertPath()) - return false; - if (a->tlsClientKeyPath() != b->tlsClientKeyPath()) - return false; - if (a->tlsCaPath() != b->tlsCaPath()) - return false; - - return true; -} - /*! \class QOtaRepositoryConfig \inmodule qtotaupdate |