diff --git a/src/session-widgets/lockcontent.cpp b/src/session-widgets/lockcontent.cpp index 65adcd2a..cd3b687e 100644 --- a/src/session-widgets/lockcontent.cpp +++ b/src/session-widgets/lockcontent.cpp @@ -676,7 +676,7 @@ void LockContent::showModule(const QString &name, const bool callShowForce) qCWarning(DDE_SHELL) << "TrayButton or plugin`s content is null"; return; } - showTrayPopup(m_currentTray, plugin->content()); + showTrayPopup(m_currentTray, plugin->content(), callShowForce); break; } default: diff --git a/src/session-widgets/lockcontent.h b/src/session-widgets/lockcontent.h index b25ec2b6..1ca10293 100644 --- a/src/session-widgets/lockcontent.h +++ b/src/session-widgets/lockcontent.h @@ -84,7 +84,7 @@ public slots: protected: void toggleVirtualKB(); - void showModule(const QString &name, const bool callShowForce = false); + void showModule(const QString &name, const bool callShowForce); void updateVirtualKBPosition(); void onUserListChanged(QList> list); void tryGrabKeyboard(bool exitIfFalied = true); @@ -92,7 +92,7 @@ public slots: void updateWallpaper(const QString &path); void refreshBackground(SessionBaseModel::ModeStatus status); void refreshLayout(SessionBaseModel::ModeStatus status); - void showTrayPopup(QWidget *trayWidget, QWidget *contentWidget, const bool callShowForce = false); + void showTrayPopup(QWidget *trayWidget, QWidget *contentWidget, const bool callShowForce); void initUI(); void initConnections();