diff --git a/src/frontend/vpnmainwindow.cpp b/src/frontend/vpnmainwindow.cpp index 3a22b754..4dbba861 100644 --- a/src/frontend/vpnmainwindow.cpp +++ b/src/frontend/vpnmainwindow.cpp @@ -450,20 +450,20 @@ void vpnMainWindow::setCentralWidgetType(IconActiveType iconStatus) void vpnMainWindow::getTabletMode() { - QDBusInterface interface(QString("com.kylin.statusmanager.interface"), - QString("/"), - QString("com.kylin.statusmanager.interface"), - QDBusConnection::sessionBus()); - if(!interface.isValid()) { - m_isShowInCenter = true; - return; - } - QDBusReply reply = interface.call("get_current_tabletmode"); - if (!reply.isValid()) { - m_isShowInCenter = true; - return; - } - m_isShowInCenter = reply.value(); +// QDBusInterface interface(QString("com.kylin.statusmanager.interface"), +// QString("/"), +// QString("com.kylin.statusmanager.interface"), +// QDBusConnection::sessionBus()); +// if(!interface.isValid()) { +// m_isShowInCenter = true; +// return; +// } +// QDBusReply reply = interface.call("get_current_tabletmode"); +// if (!reply.isValid()) { +// m_isShowInCenter = true; +// return; +// } +// m_isShowInCenter = reply.value(); } /**