支持读取本地内核

This commit is contained in:
2024-04-23 22:08:52 +08:00
parent fd07edc739
commit 9909e472d5
5 changed files with 62 additions and 1 deletions

View File

@@ -16,6 +16,7 @@ MainWindow::MainWindow(QWidget *parent)
void MainWindow::RefreshKernelList()
{
KernelInformation *information = new KernelInformation();
ui->m_nowKernel->setText(tr("Kernel: ") + information->localKernelName());
connect(information, &KernelInformation::loadFinished, this, [this, information](){
qDebug() << information->get_listData();
RefreshKernelListView(information);