From 3f0ce2a0b73c5c9b8859e085f6de71299ccc83a4 Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Fri, 21 Oct 2022 14:19:10 +0800 Subject: [PATCH] fix build error --- debian/changelog | 9 +++++++++ src/frontend/mainwindow.cpp | 2 +- src/frontend/vpnmainwindow.cpp | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index f89d0ff0..35a037ba 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,12 @@ +kylin-nm (3.20.1.6-ok6) v101; urgency=medium + + * BUG号: + * 需求号: + * 其他改动:编译报错修改 + * 影响域:无 + + -- zhaoshixu Fri, 21 Oct 2022 14:17:33 +0800 + kylin-nm (3.20.1.6-ok5) v101; urgency=medium * BUG号: diff --git a/src/frontend/mainwindow.cpp b/src/frontend/mainwindow.cpp index bf915f55..86c552d8 100644 --- a/src/frontend/mainwindow.cpp +++ b/src/frontend/mainwindow.cpp @@ -539,7 +539,7 @@ void MainWindow::getTabletMode() QDBusInterface interface(QString("com.kylin.statusmanager.interfacer"), QString("/"), QString("qt5-ukui-platformtheme"), - QDBusConnection::sessionBus); + QDBusConnection::sessionBus()); if(!interface.isValid()) { m_isShowInCenter = true; return; diff --git a/src/frontend/vpnmainwindow.cpp b/src/frontend/vpnmainwindow.cpp index fe845a80..8290fc0a 100644 --- a/src/frontend/vpnmainwindow.cpp +++ b/src/frontend/vpnmainwindow.cpp @@ -458,7 +458,7 @@ void vpnMainWindow::getTabletMode() QDBusInterface interface(QString("com.kylin.statusmanager.interfacer"), QString("/"), QString("qt5-ukui-platformtheme"), - QDBusConnection::sessionBus); + QDBusConnection::sessionBus()); if(!interface.isValid()) { m_isShowInCenter = true; return;