fix build error

This commit is contained in:
jzxc95 2022-10-21 13:39:45 +08:00
parent 1e23f4917b
commit 72ca367c65
2 changed files with 2 additions and 2 deletions

View File

@ -544,7 +544,7 @@ void MainWindow::getTabletMode()
m_isShowInCenter = true; m_isShowInCenter = true;
return; return;
} }
QDBusReply<bool> reply = interface->call("get_current_tabletmode"); QDBusReply<bool> reply = interface.call("get_current_tabletmode");
if (!reply.isValid()) { if (!reply.isValid()) {
m_isShowInCenter = true; m_isShowInCenter = true;
return; return;

View File

@ -463,7 +463,7 @@ void vpnMainWindow::getTabletMode()
m_isShowInCenter = true; m_isShowInCenter = true;
return; return;
} }
QDBusReply<bool> reply = interface->call("get_current_tabletmode"); QDBusReply<bool> reply = interface.call("get_current_tabletmode");
if (!reply.isValid()) { if (!reply.isValid()) {
m_isShowInCenter = true; m_isShowInCenter = true;
return; return;