MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / startBinaryAdmin

Function startBinaryAdmin

src/spawn.cpp:502–511  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500}
501
502void startBinaryAdmin(QWidget* parent, const SpawnParameters& sp)
503{
504 if (!dialogs::confirmRestartAsAdmin(parent, sp)) {
505 log::debug("user declined");
506 return;
507 }
508
509 log::info("restarting MO as administrator");
510 restartAsAdmin(parent);
511}
512
513struct SteamStatus
514{

Callers 1

startBinaryFunction · 0.85

Calls 2

confirmRestartAsAdminFunction · 0.85
restartAsAdminFunction · 0.85

Tested by

no test coverage detected