mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-03-21 17:34:57 -05:00
Stop token server if token was received / timeout was reached
This commit is contained in:
parent
4e2c254717
commit
03bb1fd089
|
|
@ -299,8 +299,8 @@ TwitchTokenSettingsDialog::TwitchTokenSettingsDialog(
|
|||
SLOT(ShowToken()));
|
||||
QWidget::connect(_showToken, SIGNAL(released()), this,
|
||||
SLOT(HideToken()));
|
||||
connect(&_tokenGrabber, &TokenGrabberThread::GotToken, this,
|
||||
&TwitchTokenSettingsDialog::GotToken);
|
||||
QWidget::connect(&_tokenGrabber, &TokenGrabberThread::GotToken, this,
|
||||
&TwitchTokenSettingsDialog::GotToken);
|
||||
|
||||
auto generalSettingsGrid = new QGridLayout();
|
||||
int row = 0;
|
||||
|
|
@ -601,7 +601,7 @@ void TokenGrabberThread::run()
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
_server.stop();
|
||||
emit GotToken(_tokenString);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user