From 9643825c216821a52ce9a83db4354424bb2e1189 Mon Sep 17 00:00:00 2001 From: gongheng Date: Thu, 11 Jun 2026 15:21:27 +0800 Subject: [PATCH] Fix: Except for special models, the driver management page is displayed. -- Except for special models, the driver management page is displayed. Log: fix issue Bug: https://pms.uniontech.com/bug-view-364251.html --- deepin-devicemanager/src/Page/MainWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deepin-devicemanager/src/Page/MainWindow.cpp b/deepin-devicemanager/src/Page/MainWindow.cpp index 9521ceb8..918477ff 100644 --- a/deepin-devicemanager/src/Page/MainWindow.cpp +++ b/deepin-devicemanager/src/Page/MainWindow.cpp @@ -421,7 +421,7 @@ void MainWindow::initWindowTitle() }); titlebar()->addWidget(mp_ButtonBox); // 特殊处理 - if (!Common::boardVendorType().isEmpty()) + if (Common::isHwPlatform()) mp_ButtonBox->hide(); #ifdef DISABLE_DRIVER mp_ButtonBox->hide();