mirror of
https://gitlab.com/niansa/qcommsy.git
synced 2025-03-06 20:53:33 +01:00
Fixed critical bug (auther now deleted only if no longer needed)
This commit is contained in:
parent
7393917d50
commit
51bc98e48e
1 changed files with 2 additions and 2 deletions
4
main.cpp
4
main.cpp
|
@ -194,9 +194,9 @@ void _UILoader::loginWindow(const QString& failure) {
|
||||||
// Login
|
// Login
|
||||||
try {
|
try {
|
||||||
settings->setValue("server_sid", auther->getSID(netReply));
|
settings->setValue("server_sid", auther->getSID(netReply));
|
||||||
auther->deleteLater();
|
|
||||||
cacheInvalidate = true;
|
cacheInvalidate = true;
|
||||||
return overviewWindow(false);
|
overviewWindow(false);
|
||||||
|
auther->deleteLater();
|
||||||
} catch (authFailureError&) {
|
} catch (authFailureError&) {
|
||||||
thisui->failureText->setText("Die eingegebenen Anmeldedaten sind ungültig");
|
thisui->failureText->setText("Die eingegebenen Anmeldedaten sind ungültig");
|
||||||
} catch (libCommsy::invalidRoomError&) {
|
} catch (libCommsy::invalidRoomError&) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue