Update SbieView.cpp
Fix https://github.com/sandboxie-plus/Sandboxie/issues/2225
This commit is contained in:
parent
1b036a4e05
commit
2065874502
|
@ -681,15 +681,15 @@ void CSbieView::UpdateMoveMenu()
|
|||
m_pMenuMoveTo->removeAction(pAction);
|
||||
}
|
||||
|
||||
foreach(QString Group, m_Groups.keys())
|
||||
foreach(const QString Group, m_Groups.keys())
|
||||
{
|
||||
QString Name = Group;
|
||||
QString Name = Group, Temp = Group;
|
||||
|
||||
for (;;) {
|
||||
QString Parent = FindParent(Group);
|
||||
QString Parent = FindParent(Temp);
|
||||
if (Parent.isEmpty())
|
||||
break;
|
||||
Group = Parent;
|
||||
Temp = Parent;
|
||||
Name.prepend(Parent + " > ");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue