mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-08-13 20:58:34 -05:00
Stop token server if token was received / timeout was reached
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user