Skip to content

Commit

Permalink
Align with fix for hyperion-project#1368
Browse files Browse the repository at this point in the history
  • Loading branch information
Lord-Grey committed Dec 19, 2022
1 parent 0f0f344 commit 1b30def
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libsrc/api/JsonAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1819,7 +1819,7 @@ void JsonAPI::handleSystemCommand(const QJsonObject &message, const QString &com
}
else if (subc == "restart")
{
Process::restartHyperion();
Process::restartHyperion(11);
sendSuccessReply(command + "-" + subc, tan);
}
else if (subc == "idle")
Expand Down
2 changes: 1 addition & 1 deletion src/hyperiond/systray.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ void SysTray::createTrayIcon()

restartAction = new QAction(tr("&Restart"), this);
restartAction->setIcon(QPixmap(":/restart.svg"));
connect(restartAction, &QAction::triggered, this , [=](){ Process::restartHyperion(11); });
connect(restartAction, &QAction::triggered, this , [=](){ Process::restartHyperion(12); });

suspendAction = new QAction(tr("&Suspend"), this);
suspendAction->setIcon(QPixmap(":/suspend.svg"));
Expand Down

0 comments on commit 1b30def

Please sign in to comment.