Renamed function, was reserved keyword on Mac #4522
This commit is contained in:
parent
c7de2da062
commit
14bf90264e
|
@ -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();
|
||||||
|
|
|
@ -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();
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue