Skip to content

Commit

Permalink
added clarity to real-time core being used
Browse files Browse the repository at this point in the history
  • Loading branch information
fusge committed Mar 8, 2024
1 parent 9a728bd commit ff0608a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,8 +317,11 @@ void MainWindow::aboutQt()

void MainWindow::aboutXeno()
{
const std::string realtime = RTXI_RT_CORE == "posix" ? "(non-RT)" : "";
QMessageBox::about(
this, "About Xenomai", "Running POSIX (non-RT) real-time core");
this,
"About Xenomai",
fmt::format("Running {}{} core", RTXI_RT_CORE, realtime).c_str());
}

void MainWindow::openDocs()
Expand Down Expand Up @@ -443,7 +446,6 @@ void MainWindow::windowsMenuAboutToShow()
}
// Create windows list based off of what's open
for (auto* subwin : subWindows) {
// auto* item = new QAction(subwin->widget()->windowTitle(), this);
windowsMenu->addAction(new QAction(subwin->widget()->windowTitle(), this));
}
connect(
Expand Down

0 comments on commit ff0608a

Please sign in to comment.