From 72ca367c656f5e75aec653ca24ff9bc88e9c9d64 Mon Sep 17 00:00:00 2001 From: jzxc95 <907297917@qq.com> Date: Fri, 21 Oct 2022 13:39:45 +0800 Subject: [PATCH] fix build error --- src/frontend/mainwindow.cpp | 2 +- src/frontend/vpnmainwindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/mainwindow.cpp b/src/frontend/mainwindow.cpp index 26e766b4..bf915f55 100644 --- a/src/frontend/mainwindow.cpp +++ b/src/frontend/mainwindow.cpp @@ -544,7 +544,7 @@ void MainWindow::getTabletMode() m_isShowInCenter = true; return; } - QDBusReply reply = interface->call("get_current_tabletmode"); + QDBusReply reply = interface.call("get_current_tabletmode"); if (!reply.isValid()) { m_isShowInCenter = true; return; diff --git a/src/frontend/vpnmainwindow.cpp b/src/frontend/vpnmainwindow.cpp index e91a5ecb..fe845a80 100644 --- a/src/frontend/vpnmainwindow.cpp +++ b/src/frontend/vpnmainwindow.cpp @@ -463,7 +463,7 @@ void vpnMainWindow::getTabletMode() m_isShowInCenter = true; return; } - QDBusReply reply = interface->call("get_current_tabletmode"); + QDBusReply reply = interface.call("get_current_tabletmode"); if (!reply.isValid()) { m_isShowInCenter = true; return;