MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / updatesAllowedChanged

Method updatesAllowedChanged

launcher/ui/MainWindow.cpp:1409–1416  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1407}
1408
1409void MainWindow::updatesAllowedChanged(bool allowed)
1410{
1411 if(!BuildConfig.UPDATER_ENABLED)
1412 {
1413 return;
1414 }
1415 ui->actionCheckUpdate->setEnabled(allowed);
1416}
1417
1418/*
1419 * Assumes the sender is a QAction

Callers

nothing calls this directly

Calls 1

setEnabledMethod · 0.80

Tested by

no test coverage detected