equal
deleted
inserted
replaced
54 } |
54 } |
55 |
55 |
56 |
56 |
57 HistoryController::~HistoryController() |
57 HistoryController::~HistoryController() |
58 { |
58 { |
59 clearHistoryList(); |
59 m_historyStack.ResetAndDestroy(); |
60 } |
60 } |
61 |
61 |
62 /** |
62 /** |
63 */ |
63 */ |
64 void HistoryController::insert( const TPtrC8& url, const TPtrC8& requestUrl, |
64 void HistoryController::insert( const TPtrC8& url, const TPtrC8& requestUrl, |
227 HistoryEntry* deadEntry = m_historyStack[i]; |
227 HistoryEntry* deadEntry = m_historyStack[i]; |
228 m_historyStack.Remove(i); |
228 m_historyStack.Remove(i); |
229 delete deadEntry; |
229 delete deadEntry; |
230 } |
230 } |
231 } |
231 } |
|
232 |
232 m_currentIndex = (m_currentIndex != -1) ? 0: m_currentIndex ; |
233 m_currentIndex = (m_currentIndex != -1) ? 0: m_currentIndex ; |
233 m_tempCurrentIndex = m_currentIndex; |
234 m_tempCurrentIndex = m_currentIndex; |
234 m_historyLoadOffset = 0; |
235 m_historyLoadOffset = 0; |
235 } |
236 } |
236 |
237 |