aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-06-25 14:22:48 +0200
committerDaniel Teichmann <daniel.teichmann@das-netzwerkteam.de>2021-06-25 14:22:48 +0200
commit8f4d0f9d34b3676e6f64fd7b4effab582aabc006 (patch)
treeaa483f99d52f99ae208204032ef634018ee74f4b
parent7b05860f5439eedb9d9176db6cfa127c1adc9418 (diff)
downloadRWA.Support.DesktopApp-8f4d0f9d34b3676e6f64fd7b4effab582aabc006.tar.gz
RWA.Support.DesktopApp-8f4d0f9d34b3676e6f64fd7b4effab582aabc006.tar.bz2
RWA.Support.DesktopApp-8f4d0f9d34b3676e6f64fd7b4effab582aabc006.zip
Fix forgotten sanity check
-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){