diff options
author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-05 14:44:56 +0800 |
---|---|---|
committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2021-07-05 14:44:56 +0800 |
commit | 2975cd0c6c5fb174e2c707415e7c193800fd1c73 (patch) | |
tree | 6928a39aa6284dd2eb1e181cb3bdbc360f92762c /controller.cxx | |
parent | 26aefb8d8813e23ba1bfae5fe891bd453f6159c6 (diff) |
Fix: Registration on Android crashes
The path variable needs to be stored a copy, not just a reference,
for the lambda.
Diffstat (limited to 'controller.cxx')
-rw-r--r-- | controller.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/controller.cxx b/controller.cxx index 2e95c09..e70a66d 100644 --- a/controller.cxx +++ b/controller.cxx @@ -29,7 +29,7 @@ Controller::Controller(QObject* parent) : connect(window, SIGNAL(signUp(QString)), this, SIGNAL(signUp(QString))); connect(this, &Controller::signUp, [/*this,*/ #ifdef __ANDROID__ - &path + path #endif ](QString const& brand) { sign_up(brand.toLatin1().constData(), |