mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Try to actually capture the variable :D
This commit is contained in:
parent
16c9b5ed4e
commit
bf7951dc18
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ void Updates::installUpdates()
|
||||||
.onError([this, windowName](NetworkResult) {
|
.onError([this, windowName](NetworkResult) {
|
||||||
this->setStatus_(DownloadFailed);
|
this->setStatus_(DownloadFailed);
|
||||||
|
|
||||||
postToThread([] {
|
postToThread([windowName] {
|
||||||
QMessageBox *box = new QMessageBox(
|
QMessageBox *box = new QMessageBox(
|
||||||
QMessageBox::Information, windowName,
|
QMessageBox::Information, windowName,
|
||||||
"Failed while trying to download the update.");
|
"Failed while trying to download the update.");
|
||||||
|
|
Loading…
Reference in a new issue