diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-04-15 01:06:54 +0800 | 
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2017-04-15 01:06:54 +0800 | 
| commit | 5decb465a3ba406f5a43d735137d63cd24669d49 (patch) | |
| tree | 43980b23d866002d22d88b947d62929574bf3349 | |
| parent | 39cac7a104b7c468e9fb10f48da89665d1027313 (diff) | |
LockScreenPanel: ensure the panel name is unique per each instance
This allows proper MenuManager handling in multimonitor Fixes LP: #1671432 (bzr r4228.1.4)
| -rw-r--r-- | lockscreen/LockScreenPanel.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/lockscreen/LockScreenPanel.cpp b/lockscreen/LockScreenPanel.cpp index 168a46c6e..e54e2f1b4 100644 --- a/lockscreen/LockScreenPanel.cpp +++ b/lockscreen/LockScreenPanel.cpp @@ -149,7 +149,7 @@ void Panel::RemoveIndicator(indicator::Indicator::Ptr const& indicator)  std::string Panel::GetPanelName() const  { - return "LockScreenPanel"; + return "LockScreenPanel" + std::to_string(reinterpret_cast<uintptr_t>(this));  }  void Panel::OnIndicatorViewUpdated() | 
