diff --git a/src/apps/webpositive/BrowsingHistory.cpp b/src/apps/webpositive/BrowsingHistory.cpp index c93482e088..cadb86e5bb 100644 --- a/src/apps/webpositive/BrowsingHistory.cpp +++ b/src/apps/webpositive/BrowsingHistory.cpp @@ -154,7 +154,7 @@ BrowsingHistory::BrowsingHistory() BMessage historyItemArchive; for (int32 i = 0; settingsArchive.FindMessage("history item", i, &historyItemArchive) == B_OK; i++) { - privateAddItem(BrowsingHistoryItem(&historyItemArchive), false); + privateAddItem(BrowsingHistoryItem(&historyItemArchive), true); historyItemArchive.MakeEmpty(); } } @@ -206,6 +206,8 @@ void BrowsingHistory::clear() saveSettings(); } +// #pragma mark - private + void BrowsingHistory::privateClear() { int32 count = countItems(); @@ -248,8 +250,6 @@ bool BrowsingHistory::privateAddItem(const BrowsingHistoryItem& item, bool inter return true; } -// #pragma mark - private - void BrowsingHistory::saveSettings() { BFile settingsFile;