diff --git a/src/dde-dock-plugins/shotstart/shotstartplugin.cpp b/src/dde-dock-plugins/shotstart/shotstartplugin.cpp index 168dec5c..57eef454 100755 --- a/src/dde-dock-plugins/shotstart/shotstartplugin.cpp +++ b/src/dde-dock-plugins/shotstart/shotstartplugin.cpp @@ -233,6 +233,7 @@ void ShotStartPlugin::onClickQuickPanel() qCDebug(SHOT_LOG) << "(onClickQuickPanel) 点击快捷面板"; if (!m_isRecording) { qCDebug(SHOT_LOG) << "Get Shot DBus Interface"; + m_proxyInter->requestSetAppletVisible(this, pluginName(), false); QDBusInterface shotDBusInterface( "com.deepin.Screenshot", "/com/deepin/Screenshot", "com.deepin.Screenshot", QDBusConnection::sessionBus()); shotDBusInterface.asyncCall("StartScreenshot"); diff --git a/src/dde-dock-plugins/shotstartrecord/shotstartrecordplugin.cpp b/src/dde-dock-plugins/shotstartrecord/shotstartrecordplugin.cpp index aad496c2..d76c48fd 100755 --- a/src/dde-dock-plugins/shotstartrecord/shotstartrecordplugin.cpp +++ b/src/dde-dock-plugins/shotstartrecord/shotstartrecordplugin.cpp @@ -290,7 +290,7 @@ void ShotStartRecordPlugin::onPause() void ShotStartRecordPlugin::onClickQuickPanel() { qCDebug(RECORD_LOG) << "(onClickQuickPanel) 点击快捷面板"; - + m_proxyInter->requestSetAppletVisible(this, pluginName(), false); qCDebug(RECORD_LOG) << "Get Record DBus Interface"; QDBusInterface recordDBusInterface( "com.deepin.ScreenRecorder", "/com/deepin/ScreenRecorder", "com.deepin.ScreenRecorder", QDBusConnection::sessionBus());