And more fixes.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43013 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -692,10 +692,10 @@ TReplicantTray::RemoveItem(int32 id)
|
|||||||
BPath path(&item->entryRef);
|
BPath path(&item->entryRef);
|
||||||
BString storedPath;
|
BString storedPath;
|
||||||
for (int32 i = 0;
|
for (int32 i = 0;
|
||||||
fAddOnSettings->FindString(kReplicantPathField, i, &storedPath)
|
fAddOnSettings.FindString(kReplicantPathField, i, &storedPath)
|
||||||
== B_OK; i++) {
|
== B_OK; i++) {
|
||||||
if (storedPath == path.Path()) {
|
if (storedPath == path.Path()) {
|
||||||
fAddOnSettings->RemoveItem(kReplicantPathField, i);
|
fAddOnSettings.RemoveData(kReplicantPathField, i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1202,7 +1202,7 @@ TReplicantTray::SetMultiRow(bool state)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void
|
status_t
|
||||||
TReplicantTray::_SaveSettings()
|
TReplicantTray::_SaveSettings()
|
||||||
{
|
{
|
||||||
status_t result;
|
status_t result;
|
||||||
|
|||||||
Reference in New Issue
Block a user