Skip to content

Commit d40f236

Browse files
deepin-ci-robotyixinshark
authored andcommitted
sync: from linuxdeepin/dde-session-shell
Synchronize source files from linuxdeepin/dde-session-shell. Source-pull-request: linuxdeepin/dde-session-shell#14
1 parent 7588772 commit d40f236

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/session-widgets/lockcontent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ void LockContent::showModule(const QString &name, const bool callShowForce)
676676
qCWarning(DDE_SHELL) << "TrayButton or plugin`s content is null";
677677
return;
678678
}
679-
showTrayPopup(m_currentTray, plugin->content());
679+
showTrayPopup(m_currentTray, plugin->content(), callShowForce);
680680
break;
681681
}
682682
default:

src/session-widgets/lockcontent.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ public slots:
8484

8585
protected:
8686
void toggleVirtualKB();
87-
void showModule(const QString &name, const bool callShowForce = false);
87+
void showModule(const QString &name, const bool callShowForce);
8888
void updateVirtualKBPosition();
8989
void onUserListChanged(QList<std::shared_ptr<User>> list);
9090
void tryGrabKeyboard(bool exitIfFalied = true);
9191
void currentWorkspaceChanged();
9292
void updateWallpaper(const QString &path);
9393
void refreshBackground(SessionBaseModel::ModeStatus status);
9494
void refreshLayout(SessionBaseModel::ModeStatus status);
95-
void showTrayPopup(QWidget *trayWidget, QWidget *contentWidget, const bool callShowForce = false);
95+
void showTrayPopup(QWidget *trayWidget, QWidget *contentWidget, const bool callShowForce);
9696

9797
void initUI();
9898
void initConnections();

0 commit comments

Comments
 (0)