Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
love-code-yeyixiao committed May 12, 2024
1 parent d5adb5e commit 60e40e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions SandboxiePlus/SandMan/SandMan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2306,14 +2306,14 @@ void CSandMan::OnBoxClosed(const CSandBoxPtr& pBox)
}
}

QStringList bDel=new QStringList(),list= pBox->GetTextList("Template", FALSE);
QStringList *bDel=new QStringList(),list= pBox->GetTextList("Template", FALSE);
foreach(const QString& Value2, list) {
if (tr("Template_Temp_").compare(Value2.left(14)) == 0)
{
bDel.append(Value2);
bDel->append(Value2);
}
}
foreach(const QString& Value3, bDel) {
foreach(const QString& Value3, *bDel) {
list.removeAt(list.indexOf(Value3));
}
pBox->UpdateTextList("Template", list,FALSE);
Expand Down

0 comments on commit 60e40e7

Please sign in to comment.