aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/session.cpp2
1 files changed, 1 insertions, 1 deletions
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){