Skip to content

Commit

Permalink
fix: after click the quick panel item to hide the panel
Browse files Browse the repository at this point in the history
fix after click the quick panel item to hide the panel

Log: fix after click the quick panel item to hide the panel
Bug: https://pms.uniontech.com/bug-view-272307.html
  • Loading branch information
add-uos authored and deepin-bot[bot] committed Sep 4, 2024
1 parent c82e09e commit ef2f97b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/dde-dock-plugins/shotstart/shotstartplugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit ef2f97b

Please sign in to comment.