diff --git a/src/gui/src/Fingerprint.cpp b/src/gui/src/Fingerprint.cpp index 0ff15a44..70b5c786 100644 --- a/src/gui/src/Fingerprint.cpp +++ b/src/gui/src/Fingerprint.cpp @@ -56,7 +56,7 @@ void Fingerprint::trust(const QString& fingerprintText) } } -bool Fingerprint::check(const QString& fingerprintText) +bool Fingerprint::exists(const QString& fingerprintText) { CoreInterface coreInterface; QString profileDir = coreInterface.getProfileDir(); diff --git a/src/gui/src/Fingerprint.h b/src/gui/src/Fingerprint.h index d494af0b..8618b521 100644 --- a/src/gui/src/Fingerprint.h +++ b/src/gui/src/Fingerprint.h @@ -26,7 +26,7 @@ private: public: void trust(const QString& fingerprintText); - bool check(const QString& fingerprintText); + bool exists(const QString& fingerprintText); public: static Fingerprint local(); diff --git a/src/gui/src/MainWindow.cpp b/src/gui/src/MainWindow.cpp index c4e8b0fc..794359f9 100644 --- a/src/gui/src/MainWindow.cpp +++ b/src/gui/src/MainWindow.cpp @@ -409,7 +409,7 @@ void MainWindow::checkFingerprint(const QString& line) } QString fingerprint = fingerprintRegex.cap(1); - if (Fingerprint::trustedServers().check(fingerprint)) { + if (Fingerprint::trustedServers().exists(fingerprint)) { return; }