From 8f4d0f9d34b3676e6f64fd7b4effab582aabc006 Mon Sep 17 00:00:00 2001 From: Daniel Teichmann Date: Fri, 25 Jun 2021 14:22:48 +0200 Subject: Fix forgotten sanity check --- src/session.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/session.cpp b/src/session.cpp index e4d3c95..1fa97d0 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -314,7 +314,7 @@ void Session::start_dbus_replied(QDBusPendingCallWatcher *call) { this->setURL(url); // PIN - long long pin = mainMap["pin"].toLongLong(); + long long pin = mainMap["pin"].toLongLong(&ok); this->setPin(QString::number(pin)); // Sanity Check if(ok == false){ -- cgit v1.2.3