Renamed function, was reserved keyword on Mac #4522

This commit is contained in:
Nick Bolton 2015-04-15 14:49:05 +01:00
parent c7de2da062
commit 14bf90264e
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ void Fingerprint::trust(const QString& fingerprintText)
} }
} }
bool Fingerprint::check(const QString& fingerprintText) bool Fingerprint::exists(const QString& fingerprintText)
{ {
CoreInterface coreInterface; CoreInterface coreInterface;
QString profileDir = coreInterface.getProfileDir(); QString profileDir = coreInterface.getProfileDir();

View File

@ -26,7 +26,7 @@ private:
public: public:
void trust(const QString& fingerprintText); void trust(const QString& fingerprintText);
bool check(const QString& fingerprintText); bool exists(const QString& fingerprintText);
public: public:
static Fingerprint local(); static Fingerprint local();

View File

@ -409,7 +409,7 @@ void MainWindow::checkFingerprint(const QString& line)
} }
QString fingerprint = fingerprintRegex.cap(1); QString fingerprint = fingerprintRegex.cap(1);
if (Fingerprint::trustedServers().check(fingerprint)) { if (Fingerprint::trustedServers().exists(fingerprint)) {
return; return;
} }